Commit bcf82d30 authored by Eric Cano's avatar Eric Cano
Browse files

Added missing allocationLength in Drive::getPositionInfo().

parent e2e258ae
......@@ -171,6 +171,7 @@ throw (Exception) {
SCSI::Structures::LinuxSGIO_t sgh;
positionInfo posInfo;
SCSI::Structures::setU16(cdb.allocationLength, sizeof(positionData));
// We use the short for action (default, 00h), for which allocationLength
// should NOT be set. (SSC-4, 7.7.1 READ POSITON)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment