diff options
author | Darrell Anderson <[email protected]> | 2014-02-16 11:44:42 -0600 |
---|---|---|
committer | Darrell Anderson <[email protected]> | 2014-02-16 11:44:42 -0600 |
commit | 919cc741df53b968e9253dd4fbb9bec8e67be10b (patch) | |
tree | dbc13f19084ee7757a858f662266e3195b0608c9 /libk3bdevice/k3bdevicemanager.cpp | |
parent | 3dfd149abc593e20f91e0ba1d0a7236a2a450dbf (diff) | |
download | k3b-919cc741df53b968e9253dd4fbb9bec8e67be10b.tar.gz k3b-919cc741df53b968e9253dd4fbb9bec8e67be10b.zip |
Fix unintended renaming
Diffstat (limited to 'libk3bdevice/k3bdevicemanager.cpp')
-rw-r--r-- | libk3bdevice/k3bdevicemanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libk3bdevice/k3bdevicemanager.cpp b/libk3bdevice/k3bdevicemanager.cpp index 3677f67..611dbb4 100644 --- a/libk3bdevice/k3bdevicemanager.cpp +++ b/libk3bdevice/k3bdevicemanager.cpp @@ -380,7 +380,7 @@ void K3bDevice::DeviceManager::BSDDeviceScan() break; } - if ((ccb.ccb_h.status != CAM_RETQ_CMP) + if ((ccb.ccb_h.status != CAM_REQ_CMP) || ((ccb.cdm.status != CAM_DEV_MATCH_LAST) && (ccb.cdm.status != CAM_DEV_MATCH_MORE))) { k3bDebug() << "(BSDDeviceScan) got CAM error " << ccb.ccb_h.status << ", CDM error %d" << ccb.cdm.status << endl; break; @@ -454,7 +454,7 @@ void K3bDevice::DeviceManager::BSDDeviceScan() } } - } while ((ccb.ccb_h.status == CAM_RETQ_CMP) + } while ((ccb.ccb_h.status == CAM_REQ_CMP) && (ccb.cdm.status == CAM_DEV_MATCH_MORE)); if (need_close) |