wait.h: make clearer
authorAlan Cox <alan@linux.intel.com>
Sun, 21 Feb 2016 19:51:30 +0000 (19:51 +0000)
committerAlan Cox <alan@linux.intel.com>
Sun, 21 Feb 2016 19:51:30 +0000 (19:51 +0000)
Library/include/sys/wait.h

index 329b472..8bd34fb 100644 (file)
@@ -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))