Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/compat/linux/common/linux_sig_notalpha.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/compat/linux/common/linux_sig_notalpha.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.18.18.1 retrieving revision 1.19 diff -u -p -r1.18.18.1 -r1.19 --- src/sys/compat/linux/common/linux_sig_notalpha.c 1999/12/27 18:34:27 1.18.18.1 +++ src/sys/compat/linux/common/linux_sig_notalpha.c 1999/12/04 22:08:36 1.19 @@ -1,4 +1,4 @@ -/* $NetBSD: linux_sig_notalpha.c,v 1.18.18.1 1999/12/27 18:34:27 wrstuden Exp $ */ +/* $NetBSD: linux_sig_notalpha.c,v 1.19 1999/12/04 22:08:36 tron Exp $ */ /*- * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. @@ -73,21 +73,21 @@ linux_sys_signal(p, v, retval) register_t *retval; { struct linux_sys_signal_args /* { - syscallarg(int) signum; + syscallarg(int) sig; syscallarg(linux_handler_t) handler; } */ *uap = v; struct sigaction nbsa, obsa; - int error, sig; + int error, signum; *retval = -1; - sig = SCARG(uap, signum); - if (sig < 0 || sig >= LINUX__NSIG) + signum = SCARG(uap, sig); + if (signum < 0 || signum >= LINUX__NSIG) return (EINVAL); nbsa.sa_handler = SCARG(uap, handler); sigemptyset(&nbsa.sa_mask); nbsa.sa_flags = SA_RESETHAND | SA_NODEFER; - error = sigaction1(p, linux_to_native_sig[sig], + error = sigaction1(p, linux_to_native_sig[signum], &nbsa, &obsa); if (error == 0) *retval = (int)obsa.sa_handler;