aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix/waitid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/waitid.c')
-rw-r--r--sysdeps/posix/waitid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/waitid.c b/sysdeps/posix/waitid.c
index 14bf15e..392a37d 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
)
{