From e946a4baa04081bb54ba7ef87ac5281e4835bcf9 Mon Sep 17 00:00:00 2001 From: enami Date: Sun, 29 Jun 2003 02:23:19 +0000 Subject: [PATCH] Adjust !LKM case for proc * -> lwp * change. --- sys/kern/kern_sysctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c index 7d41c99359e5..6f1b208803ae 100644 --- a/sys/kern/kern_sysctl.c +++ b/sys/kern/kern_sysctl.c @@ -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 @@ -43,7 +43,7 @@ */ #include -__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_insecure.h" @@ -1018,7 +1018,7 @@ emul_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, continue; return ((*e->e_sysctl)(name + 1, namelen - 1, oldp, oldlenp, - newp, newlen, p)); + newp, newlen, l)); } return (EOPNOTSUPP);