summaryrefslogtreecommitdiff
path: root/usr.bin/getopt
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2005-07-03 22:31:28 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2005-07-03 22:31:28 +0000
commit5a21766d950ac1e7a8ceadd9b718884f4aa216fb (patch)
treeb4e6194b0c989672ccbc9125816af783626477c1 /usr.bin/getopt
parent02b72cb30eea964619de3317ace902ac0963a24a (diff)
Fix data_length values in simulationed MODE SENSE page 4 responses so
that scsi_do_mode_sense() accepts them. The data_length value does not include itself, and the pg_length value in a mode page does not include itself or the page_code fields. We were +1 on the former and -2 on the latter resulting in a data_length value that was too small by one. Eliminates 'mode sense page 5 not simulated' messages. ok marco@
Diffstat (limited to 'usr.bin/getopt')
0 files changed, 0 insertions, 0 deletions