summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_sysctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index 3256cfd..b852565 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -891,8 +891,8 @@ kernel_sysctlbyname(struct proc *p, char *name, void *old, size_t *oldlenp,
void *new, size_t newlen, size_t *retval)
{
int oid[CTL_MAXNAME];
- size_t oidlen;
- int error, plen;
+ size_t oidlen, plen;
+ int error;
oid[0] = 0; /* sysctl internal magic */
oid[1] = 3; /* name2oid */
OpenPOWER on IntegriCloud