summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linux/linux_signal.c')
-rw-r--r--sys/compat/linux/linux_signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_signal.c b/sys/compat/linux/linux_signal.c
index 4a4ec12..7b17200 100644
--- a/sys/compat/linux/linux_signal.c
+++ b/sys/compat/linux/linux_signal.c
@@ -438,7 +438,7 @@ linux_kill(struct thread *td, struct linux_kill_args *args)
/*
* Allow signal 0 as a means to check for privileges
*/
- if (!LINUX_SIG_VALID(linux_sig) && args->signum != 0)
+ if (!LINUX_SIG_VALID(args->signum) && args->signum != 0)
return EINVAL;
if (args->signum > 0 && args->signum <= LINUX_SIGTBLSZ)
OpenPOWER on IntegriCloud