From 15b9738da39063ee118a22b48a2255c5b2769182 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 13 Mar 2016 21:44:09 +0100 Subject: Fix flag test in waitid compatibility layer * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of WUNTRACED. --- sysdeps/posix/waitid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps') diff --git a/sysdeps/posix/waitid.c b/sysdeps/posix/waitid.c index 14bf15e735..392a37d95f 100644 --- a/sysdeps/posix/waitid.c +++ b/sysdeps/posix/waitid.c @@ -80,7 +80,7 @@ OUR_WAITID (idtype_t idtype, id_t id, siginfo_t *infop, int options) #endif #ifdef WEXITED || ((options & (WEXITED|WSTOPPED|WCONTINUED)) - != (WEXITED | (options & WUNTRACED))) + != (WEXITED | (options & WSTOPPED))) #endif ) { -- cgit v1.2.3