aboutsummaryrefslogtreecommitdiff
path: root/linux-user/signal.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-27 15:46:25 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-27 15:46:25 +0000
commit2a913eb118dec726bd5f1dd1c94aa4ffb329afd7 (patch)
treebd88b403500dfc4cafbe732c194b68d3b78cfc9b /linux-user/signal.c
parent777553406dcc3dd0ea54dae5b963b08af54c4f0d (diff)
downloadqemu-2a913eb118dec726bd5f1dd1c94aa4ffb329afd7.zip
qemu-2a913eb118dec726bd5f1dd1c94aa4ffb329afd7.tar.gz
qemu-2a913eb118dec726bd5f1dd1c94aa4ffb329afd7.tar.bz2
linux-user: sig is target signal.
Signed-off-by: Riku Voipio <riku.voipio@iki.fi> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5801 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/signal.c')
-rw-r--r--linux-user/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 1dd634f..0a8d7aa 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -502,7 +502,7 @@ int do_sigaction(int sig, const struct target_sigaction *act,
int host_sig;
int ret = 0;
- if (sig < 1 || sig > TARGET_NSIG || sig == SIGKILL || sig == SIGSTOP)
+ if (sig < 1 || sig > TARGET_NSIG || sig == TARGET_SIGKILL || sig == TARGET_SIGSTOP)
return -EINVAL;
k = &sigact_table[sig - 1];
#if defined(DEBUG_SIGNAL)