From ca4781fcfe47146895809ebdfdeee22a34040cca Mon Sep 17 00:00:00 2001 From: mike Date: Sun, 13 Oct 2002 14:26:29 +0000 Subject: Update a sysctl to use _POSIX_VERSION from , instead of the kernel option _KPOSIX_VERSION. --- sys/kern/kern_mib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/kern_mib.c') diff --git a/sys/kern/kern_mib.c b/sys/kern/kern_mib.c index 7ec4aea..29f6873 100644 --- a/sys/kern/kern_mib.c +++ b/sys/kern/kern_mib.c @@ -51,6 +51,7 @@ #include #include #include +#include SYSCTL_NODE(, 0, sysctl, CTLFLAG_RW, 0, "Sysctl internal magic"); @@ -112,9 +113,8 @@ SYSCTL_INT(_kern, OID_AUTO, maxusers, CTLFLAG_RD, SYSCTL_INT(_kern, KERN_ARGMAX, argmax, CTLFLAG_RD, 0, ARG_MAX, "Maximum bytes of argument to execve(2)"); -#include SYSCTL_INT(_kern, KERN_POSIX1, posix1version, CTLFLAG_RD, - 0, _KPOSIX_VERSION, "Version of POSIX attempting to comply to"); + 0, _POSIX_VERSION, "Version of POSIX attempting to comply to"); SYSCTL_INT(_kern, KERN_NGROUPS, ngroups, CTLFLAG_RD, 0, NGROUPS_MAX, "Maximum number of groups a user can belong to"); -- cgit v1.1