diff --git a/cpp/devices/tape.cpp b/cpp/devices/tape.cpp index 4c916c5d..b18e252a 100644 --- a/cpp/devices/tape.cpp +++ b/cpp/devices/tape.cpp @@ -274,7 +274,8 @@ vector Tape::InquiryInternal() const int Tape::VerifyBlockSizeChange(int requested_size, bool temporary) const { // Special handling of block size 0 for sequential-access devices, according to the SCSI-2 specification - return requested_size || !temporary ? StorageDevice::VerifyBlockSizeChange(requested_size, temporary) : 0; + return + requested_size || !temporary ? StorageDevice::VerifyBlockSizeChange(requested_size, temporary) : GetBlockSize(); } void Tape::SetUpModePages(map> &pages, int page, bool changeable) const