Skip to content

Commit

Permalink
Update spacing in tar mode
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Oct 24, 2024
1 parent 8286bdd commit 704baef
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cpp/devices/tape.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,13 @@ void Tape::Space6()
throw scsi_exception(sense_key::illegal_request, asc::invalid_command_operation_code);
}

if (position < 0) {
position = 0;
}
if (block_location < 0) {
block_location = 0;
}

StatusPhase();

return;
Expand Down

0 comments on commit 704baef

Please sign in to comment.