diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-08-01 22:42:51 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-08-01 22:42:51 +0000 |
commit | 364f7ed676af1615fc5a695e290e9796e2673a98 (patch) | |
tree | bca489875b25f1e718023036e89d3526b2a73abc /sys/dev/wscons | |
parent | 2f8e0c42321161f5865bf8df2c542f7d9c45e174 (diff) |
Return 0 as the block size when READ_CAPACITY fails in scsi_size().
Prevents garbage being used as ssblksize in sd_get_parms(). Perhaps
another nail in the coffin for PR4313.
Diffstat (limited to 'sys/dev/wscons')
0 files changed, 0 insertions, 0 deletions