diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-09-04 16:59:07 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-09-04 16:59:07 +0000 |
commit | fb92e768fc8e71aff294758ea3342f9d511df3ce (patch) | |
tree | 39568e8de23ee0059cec49fe0d407bcbf81cbbfb /sys/arch/alpha | |
parent | cc396a135cd0c48a12e330c4dfca8a539655ba12 (diff) |
unit numbers should be < 16, not < 8 since we can have wide drives
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/stand/boot/disk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/stand/boot/disk.c b/sys/arch/alpha/stand/boot/disk.c index 73406487228..c79c91caecf 100644 --- a/sys/arch/alpha/stand/boot/disk.c +++ b/sys/arch/alpha/stand/boot/disk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disk.c,v 1.7 1997/05/05 06:01:52 millert Exp $ */ +/* $OpenBSD: disk.c,v 1.8 1998/09/04 16:59:06 millert Exp $ */ /* $NetBSD: disk.c,v 1.6 1997/04/06 08:40:33 cgd Exp $ */ /* @@ -106,7 +106,7 @@ diskopen(f, ctlr, unit, part) char *msg, buf[DEV_BSIZE], devname[32]; struct disk_softc *sc; - if (unit >= 8 || part >= MAXPARTITIONS) + if (unit >= 16 || part >= MAXPARTITIONS) return (ENXIO); /* * XXX |