diff options
author | Tom Cosgrove <tom@cvs.openbsd.org> | 2004-07-15 21:44:17 +0000 |
---|---|---|
committer | Tom Cosgrove <tom@cvs.openbsd.org> | 2004-07-15 21:44:17 +0000 |
commit | fbd80c76d6d657690686abfc99c850d90b3da0b3 (patch) | |
tree | ba97989f0b149fabe8f16aec4ee2a0ab8930d22e | |
parent | 17b098596430327096b8a7add7c9a77c88380b0a (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@
-rw-r--r-- | sys/arch/amd64/stand/installboot/installboot.c | 4 | ||||
-rw-r--r-- | sys/arch/i386/stand/installboot/installboot.c | 4 |
2 files changed, 4 insertions, 4 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; 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; |