From f27c0a7b2dd79456a49d960aa95310004aaea12f Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 12 Oct 2020 19:51:28 +0000 Subject: mib[2] is no longer used; ok guenther --- lib/libc/gen/sysconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/gen/sysconf.c') diff --git a/lib/libc/gen/sysconf.c b/lib/libc/gen/sysconf.c index 1bcc2a7bc90..7b7647e9d1e 100644 --- a/lib/libc/gen/sysconf.c +++ b/lib/libc/gen/sysconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysconf.c,v 1.26 2018/07/12 01:23:38 cheloha Exp $ */ +/* $OpenBSD: sysconf.c,v 1.27 2020/10/12 19:51:28 deraadt Exp $ */ /*- * Copyright (c) 1993 * The Regents of the University of California. All rights reserved. @@ -62,7 +62,7 @@ sysconf(int name) { struct rlimit rl; size_t len; - int mib[3], value, namelen, sverrno; + int mib[2], value, namelen, sverrno; len = sizeof(value); namelen = 2; -- cgit v1.2.3-59-g8ed1b