diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1996-05-02 14:21:14 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1996-05-02 14:21:14 +0000 |
| commit | e911eafcbae5366e66f9560ca18bf60c5f8157a4 (patch) | |
| tree | c11aef2f7af5663393e978cd03a223a2ffbe6c69 /sys/scsi/sd.c | |
| parent | 74de633578b6bec2359f61c95bbbcb4f50a3599b (diff) | |
Notes
Diffstat (limited to 'sys/scsi/sd.c')
| -rw-r--r-- | sys/scsi/sd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c index 56d0b152d381..66be193f5b88 100644 --- a/sys/scsi/sd.c +++ b/sys/scsi/sd.c @@ -14,7 +14,7 @@ * * Ported to run under 386BSD by Julian Elischer (julian@dialix.oz.au) Sept 1992 * - * $Id: sd.c,v 1.86 1996/03/10 07:13:12 gibbs Exp $ + * $Id: sd.c,v 1.87 1996/03/27 18:50:09 bde Exp $ */ #include "opt_bounce.h" @@ -932,7 +932,7 @@ sddump(dev_t dev) return (ENXIO); /* Convert to disk sectors */ - num = (u_int32_t) num * NBPG / sd->params.secsiz; /* XXX it must be 512 */ + num = (u_int32_t) num * PAGE_SIZE / sd->params.secsiz; /* XXX it must be 512 */ /* check if controller active */ if (sddoingadump) |
