diff options
author | 1998-09-04 16:59:06 +0000 | |
---|---|---|
committer | 1998-09-04 16:59:06 +0000 | |
commit | 81f3537f1f7feb9d5bf3d34bc4413efd6648e635 (patch) | |
tree | 5bee3b19d37c33fe70fec3f5cd9255a485fb767e | |
parent | Kill non-working ultrix-style controller/disk/kernel format and leave (diff) | |
download | wireguard-openbsd-81f3537f1f7feb9d5bf3d34bc4413efd6648e635.tar.xz wireguard-openbsd-81f3537f1f7feb9d5bf3d34bc4413efd6648e635.zip |
unit numbers should be < 16, not < 8 since we can have wide drives
-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 |