summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-10-15 14:34:03 +0000
committernetchild <netchild@FreeBSD.org>2006-10-15 14:34:03 +0000
commit81c4528741fdbeda3c74c493edb63864cd855689 (patch)
tree244e0e8d5602c6e5aa3189afe388ae6584273cae /sys/compat
parentf2cc0e8140fd16a2d8d2fe819a4c7f7e58b1d64c (diff)
downloadFreeBSD-src-81c4528741fdbeda3c74c493edb63864cd855689.zip
FreeBSD-src-81c4528741fdbeda3c74c493edb63864cd855689.tar.gz
Fix compile (use the right variable name).
Diffstat (limited to 'sys/compat')
-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