Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/svr4_32 catch up with exit1() change



details:   https://anonhg.NetBSD.org/src/rev/5c22399b188e
branches:  trunk
changeset: 814709:5c22399b188e
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 04 21:21:49 2016 +0000

description:
catch up with exit1() change

diffstat:

 sys/compat/svr4_32/svr4_32_signal.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8186e6fcdfd5 -r 5c22399b188e sys/compat/svr4_32/svr4_32_signal.c
--- a/sys/compat/svr4_32/svr4_32_signal.c       Mon Apr 04 21:08:44 2016 +0000
+++ b/sys/compat/svr4_32/svr4_32_signal.c       Mon Apr 04 21:21:49 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_32_signal.c,v 1.26 2008/04/28 20:23:46 martin Exp $        */
+/*     $NetBSD: svr4_32_signal.c,v 1.27 2016/04/04 21:21:49 christos Exp $      */
 
 /*-
  * Copyright (c) 1994, 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_32_signal.c,v 1.26 2008/04/28 20:23:46 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_32_signal.c,v 1.27 2016/04/04 21:21:49 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_svr4.h"
@@ -630,7 +630,7 @@
        case SVR4_SETCONTEXT:
                DPRINTF(("setcontext(%p)\n", SCARG(uap, uc)));
                if (!SCARG_P32(uap, uc))
-                       exit1(l, W_EXITCODE(0, 0));
+                       exit1(l, 0, 0, 0);
                else if ((error = copyin(SCARG_P32(uap, uc),
                                         &uc, sizeof(uc))) != 0)
                        return error;



Home | Main Index | Thread Index | Old Index