summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2005-08-01 22:42:51 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2005-08-01 22:42:51 +0000
commit364f7ed676af1615fc5a695e290e9796e2673a98 (patch)
treebca489875b25f1e718023036e89d3526b2a73abc /sys/dev
parent2f8e0c42321161f5865bf8df2c542f7d9c45e174 (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')
0 files changed, 0 insertions, 0 deletions