diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-06 11:23:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-06 11:23:03 +0000 |
commit | 981e6fd9f89039352efcabd7e9112edf8ac53ccf (patch) | |
tree | 948545a2f8a5bab0e72b5ffd2a6391ec12b40316 /sys/arch/sparc/dev/fd.c | |
parent | bb17c6789454ce776582b8fc99b1d4fa857f1a76 (diff) |
repair max sectors
Diffstat (limited to 'sys/arch/sparc/dev/fd.c')
-rw-r--r-- | sys/arch/sparc/dev/fd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/fd.c b/sys/arch/sparc/dev/fd.c index 911ab1dcdfd..c9b93bac0a2 100644 --- a/sys/arch/sparc/dev/fd.c +++ b/sys/arch/sparc/dev/fd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fd.c,v 1.12 1996/12/05 17:16:59 deraadt Exp $ */ +/* $OpenBSD: fd.c,v 1.13 1996/12/06 11:23:02 deraadt Exp $ */ /* $NetBSD: fd.c,v 1.33.4.1 1996/06/12 20:52:25 pk Exp $ */ /*- @@ -1649,6 +1649,7 @@ fdgetdisklabel(dev) lp->d_type = DTYPE_FLOPPY; strncpy(lp->d_packname, "fictitious", sizeof(lp->d_packname)); lp->d_rpm = 300; /* XXX like it matters... */ + lp->d_secperunit = fd->sc_type->size; lp->d_interleave = 1; lp->d_flags = D_REMOVABLE; @@ -1664,7 +1665,7 @@ fdgetdisklabel(dev) /* * Call the generic disklabel extraction routine. */ - (void) readdisklabel(dev, fdstrategy, lp, clp); + errstring = readdisklabel(dev, fdstrategy, lp, clp); if (errstring) { printf("%s: %s\n", fd->sc_dv.dv_xname, errstring); return; |