Skip to contentSkip to conversation

[5801] linux-user: sig is target signal.

Qemu-devel Thiemo Seufer 1 participant 1 message Nov 27, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5801

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5801
Author:   ths
Date:     2008-11-27 15:46:25 +0000 (Thu, 27 Nov 2008)

Log Message:
-----------
linux-user: sig is target signal.

Modified Paths:
--------------
trunk/linux-user/signal.c

Modified: trunk/linux-user/signal.c
===================================================================

linux-user/signal.c +1 -1
@@ -502,7 +502,7 @@
     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)