diff options
Diffstat (limited to 'libk3bdevice')
-rw-r--r-- | libk3bdevice/k3bdevice.cpp | 2 | ||||
-rw-r--r-- | libk3bdevice/k3bdevicemanager.cpp | 2 | ||||
-rw-r--r-- | libk3bdevice/k3bscsicommand.cpp | 4 | ||||
-rw-r--r-- | libk3bdevice/k3bscsicommand.h | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/libk3bdevice/k3bdevice.cpp b/libk3bdevice/k3bdevice.cpp index df6dcb0..43cbaf1 100644 --- a/libk3bdevice/k3bdevice.cpp +++ b/libk3bdevice/k3bdevice.cpp @@ -231,7 +231,7 @@ bool K3bDevice::Device::init( bool bCheckWritingModes ) cmd.clear(); ::memset( buf, 0, sizeof(buf) ); struct inquiry* inq = (struct inquiry*)buf; - cmd[0] = MMC_INTQUIRY; + cmd[0] = MMC_INQUIRY; cmd[4] = sizeof(buf); cmd[5] = 0; if( cmd.transport( TR_DIR_READ, buf, sizeof(buf) ) ) { diff --git a/libk3bdevice/k3bdevicemanager.cpp b/libk3bdevice/k3bdevicemanager.cpp index 925539d..63f8492 100644 --- a/libk3bdevice/k3bdevicemanager.cpp +++ b/libk3bdevice/k3bdevicemanager.cpp @@ -659,7 +659,7 @@ bool K3bDevice::DeviceManager::testForCdrom( const TQString& devicename ) ::memset( buf, 0, sizeof(buf) ); ScsiCommand cmd( cdromfd ); - cmd[0] = MMC_INTQUIRY; + cmd[0] = MMC_INQUIRY; cmd[4] = sizeof(buf); cmd[5] = 0; diff --git a/libk3bdevice/k3bscsicommand.cpp b/libk3bdevice/k3bscsicommand.cpp index 988fe7b..ce7baf3 100644 --- a/libk3bdevice/k3bscsicommand.cpp +++ b/libk3bdevice/k3bscsicommand.cpp @@ -35,8 +35,8 @@ TQString K3bDevice::commandString( const unsigned char& command ) return "GET EVENT STATUS NOTIFICATION"; if( command == MMC_GET_PERFORMANCE ) return "GET PERFORMANCE"; - if( command == MMC_INTQUIRY ) - return "INTQUIRY"; + if( command == MMC_INQUIRY ) + return "INQUIRY"; if( command == MMC_LOAD_UNLOAD_MEDIUM ) return "LOAD/UNLOAD MEDIUM"; if( command == MMC_MECHANISM_STATUS ) diff --git a/libk3bdevice/k3bscsicommand.h b/libk3bdevice/k3bscsicommand.h index 7a718d1..a8549a8 100644 --- a/libk3bdevice/k3bscsicommand.h +++ b/libk3bdevice/k3bscsicommand.h @@ -31,7 +31,7 @@ namespace K3bDevice const unsigned char MMC_GET_CONFIGURATION = 0x46; const unsigned char MMC_GET_EVENT_STATUS_NOTIFICATION = 0x4A; const unsigned char MMC_GET_PERFORMANCE = 0xAC; - const unsigned char MMC_INTQUIRY = 0x12; + const unsigned char MMC_INQUIRY = 0x12; const unsigned char MMC_LOAD_UNLOAD_MEDIUM = 0xA6; const unsigned char MMC_MECHANISM_STATUS = 0xBD; const unsigned char MMC_MODE_SELECT = 0x55; |