int -> size_t fix

This commit is contained in:
Matt Jacob 2001-06-22 19:54:38 +00:00
parent d4d79f279c
commit 2f7f966cb8

View File

@ -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 */