summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2005-06-04 01:25:02 +0000
committerkrw <krw@openbsd.org>2005-06-04 01:25:02 +0000
commit130883f60ed728f00e66a9bdf343258392a16056 (patch)
tree682f7746c62ec36d1bb4e76a737603b814acb595 /lib/libc
parentMake M-x gid tokenize C identifiers correctly. Problem reported by mjc. (diff)
downloadwireguard-openbsd-130883f60ed728f00e66a9bdf343258392a16056.tar.xz
wireguard-openbsd-130883f60ed728f00e66a9bdf343258392a16056.zip
Make scsi_do_mode_sense() aware of the difference between the 8 byte
general block descriptor and the 8 byte direct block descriptor, and return the correct values for density, block_count and block_size based on the type of the device. First cut has T_SEQUENTIAL (i.e. tape devices) as the only device type using general block descriptors, so the behaviour change is minimal.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions