From fbd80c76d6d657690686abfc99c850d90b3da0b3 Mon Sep 17 00:00:00 2001 From: Tom Cosgrove Date: Thu, 15 Jul 2004 21:44:17 +0000 Subject: "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@ --- sys/arch/amd64/stand/installboot/installboot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/amd64') 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; -- cgit v1.2.3