From 0c8283fe12de276a719e79298bace5f7b87b3fc5 Mon Sep 17 00:00:00 2001 From: rafal Date: Thu, 5 Nov 2009 18:39:38 +0000 Subject: [PATCH] Fix fallout from do_sys_wait changes (hi, rmind!) --- sys/compat/svr4/svr4_misc.c | 8 +++----- sys/compat/svr4_32/svr4_32_misc.c | 9 ++++----- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/sys/compat/svr4/svr4_misc.c b/sys/compat/svr4/svr4_misc.c index 36fb641b7834..c662ec48ab94 100644 --- a/sys/compat/svr4/svr4_misc.c +++ b/sys/compat/svr4/svr4_misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: svr4_misc.c,v 1.147 2009/11/04 21:23:03 rmind Exp $ */ +/* $NetBSD: svr4_misc.c,v 1.148 2009/11/05 18:39:38 rafal Exp $ */ /*- * Copyright (c) 1994, 2008 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: svr4_misc.c,v 1.147 2009/11/04 21:23:03 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: svr4_misc.c,v 1.148 2009/11/05 18:39:38 rafal Exp $"); #include #include @@ -999,7 +999,6 @@ svr4_sys_waitsys(struct lwp *l, const struct svr4_sys_waitsys_args *uap, registe { int options, status; int error; - int was_zombie; struct rusage ru; svr4_siginfo_t i; int id = SCARG(uap, id); @@ -1037,8 +1036,7 @@ svr4_sys_waitsys(struct lwp *l, const struct svr4_sys_waitsys_args *uap, registe SCARG(uap, grp), id, SCARG(uap, info), SCARG(uap, options))); - error = do_sys_wait(l, &id, &status, options, &ru, - &was_zombie); + error = do_sys_wait(&id, &status, options, &ru); retval[0] = id; if (error != 0) diff --git a/sys/compat/svr4_32/svr4_32_misc.c b/sys/compat/svr4_32/svr4_32_misc.c index ab2a0015581a..e20469ab10a0 100644 --- a/sys/compat/svr4_32/svr4_32_misc.c +++ b/sys/compat/svr4_32/svr4_32_misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: svr4_32_misc.c,v 1.66 2009/11/04 21:23:03 rmind Exp $ */ +/* $NetBSD: svr4_32_misc.c,v 1.67 2009/11/05 18:39:38 rafal Exp $ */ /*- * Copyright (c) 1994, 2008 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: svr4_32_misc.c,v 1.66 2009/11/04 21:23:03 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: svr4_32_misc.c,v 1.67 2009/11/05 18:39:38 rafal Exp $"); #include #include @@ -1006,7 +1006,7 @@ svr4_32_setinfo(int pid, struct rusage *ru, int st, svr4_32_siginfo_tp si) int svr4_32_sys_waitsys(struct lwp *l, const struct svr4_32_sys_waitsys_args *uap, register_t *retval) { - int options, error, status, was_zombie;; + int options, error, status; struct rusage ru; int id = SCARG(uap, id); @@ -1041,8 +1041,7 @@ svr4_32_sys_waitsys(struct lwp *l, const struct svr4_32_sys_waitsys_args *uap, r if (SCARG(uap, options) & (SVR4_WSTOPPED|SVR4_WCONTINUED)) options |= WUNTRACED; - error = do_sys_wait(l, &id, &status, options, &ru, - &was_zombie); + error = do_sys_wait(&id, &status, options, &ru); retval[0] = id; if (error != 0)