diff options
author | 2020-10-12 19:51:28 +0000 | |
---|---|---|
committer | 2020-10-12 19:51:28 +0000 | |
commit | f27c0a7b2dd79456a49d960aa95310004aaea12f (patch) | |
tree | 3508be825bf222e35077b01c8b04865ca7139591 /lib/libc/gen/sysconf.c | |
parent | Add support for the i.MX8M AHB clocks. These behave just like all the (diff) | |
download | wireguard-openbsd-f27c0a7b2dd79456a49d960aa95310004aaea12f.tar.xz wireguard-openbsd-f27c0a7b2dd79456a49d960aa95310004aaea12f.zip |
mib[2] is no longer used; ok guenther
Diffstat (limited to 'lib/libc/gen/sysconf.c')
-rw-r--r-- | lib/libc/gen/sysconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |