summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sysctl.c
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2001-06-22 19:54:38 +0000
committermjacob <mjacob@FreeBSD.org>2001-06-22 19:54:38 +0000
commit95a162e88f188b9ba282d7871c9f371c97d5cc60 (patch)
tree5252c0bcc29050d1a07942dfaf6e5e7d254e7a55 /sys/kern/kern_sysctl.c
parent4a0536f32170ab7ab1208869582776621dcac93e (diff)
downloadFreeBSD-src-95a162e88f188b9ba282d7871c9f371c97d5cc60.zip
FreeBSD-src-95a162e88f188b9ba282d7871c9f371c97d5cc60.tar.gz
int -> size_t fix
Diffstat (limited to 'sys/kern/kern_sysctl.c')
-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