summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
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/amd64
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/amd64')
-rw-r--r--sys/arch/amd64/stand/installboot/installboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/stand/installboot/installboot.c b/sys/arch/amd64/stand/installboot/installboot.c
index 6063a5f5852..477f9d78162 100644
--- a/sys/arch/amd64/stand/installboot/installboot.c
+++ b/sys/arch/amd64/stand/installboot/installboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: installboot.c,v 1.4 2004/05/05 04:33:56 mickey Exp $ */
+/* $OpenBSD: installboot.c,v 1.5 2004/07/15 21:44:16 tom Exp $ */
/* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */
/*
@@ -338,7 +338,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;