From: Alan Cox Date: Sun, 21 Feb 2016 19:51:30 +0000 (+0000) Subject: wait.h: make clearer X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=0c38b37729906edfc1d6d14cfedbea65385085e2;p=FUZIX.git wait.h: make clearer --- diff --git a/Library/include/sys/wait.h b/Library/include/sys/wait.h index 329b4724..8bd34fb1 100644 --- a/Library/include/sys/wait.h +++ b/Library/include/sys/wait.h @@ -28,7 +28,7 @@ #define WIFSTOPPED(status) (((status) & 0xff) == 0x7f) /* Nonzero if STATUS indicates the child dumped core. */ -#define WCOREDUMP(status) ((status) & 0200) +#define WCOREDUMP(status) ((status) & 0x80) /* Macros for constructing status values. */ #define W_EXITCODE(ret, sig) ((ret) << 8 | (sig))