summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/setenv.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2005-06-18 00:52:15 +0000
committerkrw <krw@openbsd.org>2005-06-18 00:52:15 +0000
commitd83b0ff0a6eec938c89f5608f21ae3acfe5df757 (patch)
treea5b7dcad3651fb4189ca4ec2f9a0b75dddaa9bd6 /lib/libc/stdlib/setenv.c
parentsync (diff)
downloadwireguard-openbsd-d83b0ff0a6eec938c89f5608f21ae3acfe5df757.tar.xz
wireguard-openbsd-d83b0ff0a6eec938c89f5608f21ae3acfe5df757.zip
Switch to trying 6 byte MODE SENSE commands (for non ATAPI devices at
least) before 10 byte MODE SENSE. Some older devices can't/won't distinguish between the two and return 6 byte MODE SENSE data for 10 byte requests. Check that at least a full header was returned. Tested by miod@ hshoexer@ and Ed Wandasiewisz on troublesome devices.
Diffstat (limited to 'lib/libc/stdlib/setenv.c')
0 files changed, 0 insertions, 0 deletions