From 2f7f966cb853cdffbcf229c16ac879d954c18952 Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Fri, 22 Jun 2001 19:54:38 +0000 Subject: [PATCH] int -> size_t fix --- sys/kern/kern_sysctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c index 3256cfdb2357..b852565f3f6a 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 */