summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorTom Cosgrove <tom@cvs.openbsd.org>2004-07-15 21:44:17 +0000
committerTom Cosgrove <tom@cvs.openbsd.org>2004-07-15 21:44:17 +0000
commitfbd80c76d6d657690686abfc99c850d90b3da0b3 (patch)
treeba97989f0b149fabe8f16aec4ee2a0ab8930d22e /sys/arch/i386
parent17b098596430327096b8a7add7c9a77c88380b0a (diff)
"mib[4] is too much and mib[3] would be enough" (left over from when
another sysctl() - which did require mib[4] - was removed). From Andrey Matveev - andrushock (at) vniigim (dot) ru - via mickey@. ok mickey@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/stand/installboot/installboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/installboot/installboot.c b/sys/arch/i386/stand/installboot/installboot.c
index 58b1a244f46..69e77e61153 100644
--- a/sys/arch/i386/stand/installboot/installboot.c
+++ b/sys/arch/i386/stand/installboot/installboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: installboot.c,v 1.46 2004/05/05 04:33:56 mickey Exp $ */
+/* $OpenBSD: installboot.c,v 1.47 2004/07/15 21:44:16 tom Exp $ */
/* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */
/*
@@ -334,7 +334,7 @@ getbootparams(char *boot, int devfd, struct disklabel *dl)
daddr_t blk, *ap;
struct ufs1_dinode *ip;
int ndb;
- int mib[4];
+ int mib[3];
size_t size;
dev_t dev;