diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-06-15 02:46:07 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-06-15 02:46:07 +0000 |
commit | 5e0ffd83260c9965cec8eee8279656e02c537a09 (patch) | |
tree | e483236c472d5e50ec83be6d7b8ab7e22f42af7c /sys | |
parent | d40e698ef82e6033b3b0156f9a58d8f4edc9f3bb (diff) |
Typo. 'dp->cyls' -> 'dp->sectors'.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/scsi/sd_scsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/sd_scsi.c b/sys/scsi/sd_scsi.c index b1713a2b8d8..06f073dd197 100644 --- a/sys/scsi/sd_scsi.c +++ b/sys/scsi/sd_scsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sd_scsi.c,v 1.14 2005/06/03 15:50:10 krw Exp $ */ +/* $OpenBSD: sd_scsi.c,v 1.15 2005/06/15 02:46:06 krw Exp $ */ /* $NetBSD: sd_scsi.c,v 1.8 1998/10/08 20:21:13 thorpej Exp $ */ /*- @@ -204,7 +204,7 @@ sd_scsibus_get_parms(sd, dp, flags) _2btol(sense_pages->flex_geometry.bytes_s); rpm = _2btol(scsi_sense.pages.flex_geometry.rpm); } - if (dp->cyls == 0 || dp->heads == 0 || dp->cyls == 0) + if (dp->cyls == 0 || dp->heads == 0 || dp->sectors == 0) goto fake_it; dp->disksize = dp->heads * dp->cyls * dp->sectors; |