Adjust !LKM case for proc * -> lwp * change.

This commit is contained in:
enami 2003-06-29 02:23:19 +00:00
parent 3a56e3ea7e
commit e946a4baa0
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_sysctl.c,v 1.135 2003/06/28 14:21:55 darrenr Exp $ */ /* $NetBSD: kern_sysctl.c,v 1.136 2003/06/29 02:23:19 enami Exp $ */
/*- /*-
* Copyright (c) 1982, 1986, 1989, 1993 * Copyright (c) 1982, 1986, 1989, 1993
@ -43,7 +43,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: kern_sysctl.c,v 1.135 2003/06/28 14:21:55 darrenr Exp $"); __KERNEL_RCSID(0, "$NetBSD: kern_sysctl.c,v 1.136 2003/06/29 02:23:19 enami Exp $");
#include "opt_ddb.h" #include "opt_ddb.h"
#include "opt_insecure.h" #include "opt_insecure.h"
@ -1018,7 +1018,7 @@ emul_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp,
continue; continue;
return ((*e->e_sysctl)(name + 1, namelen - 1, oldp, oldlenp, return ((*e->e_sysctl)(name + 1, namelen - 1, oldp, oldlenp,
newp, newlen, p)); newp, newlen, l));
} }
return (EOPNOTSUPP); return (EOPNOTSUPP);