summaryrefslogtreecommitdiff
path: root/src/sys/wait/WSTOPSIG.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/wait/WSTOPSIG.c')
-rw-r--r--src/sys/wait/WSTOPSIG.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sys/wait/WSTOPSIG.c b/src/sys/wait/WSTOPSIG.c
index 721179c8..467729e4 100644
--- a/src/sys/wait/WSTOPSIG.c
+++ b/src/sys/wait/WSTOPSIG.c
@@ -1,6 +1,5 @@
#include <sys/wait.h>
-
-#define WSTOPSIG 6
+#define WSTOPSIG(__stat_val) (__stat_val & 0xff)
/*
POSIX(1)
*/