diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-03 08:55:12 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-03 08:55:12 +0000 |
commit | 8cbe8c803387ceaf2bcaba328fe1fb26344c74db (patch) | |
tree | 7db23d38d674e14a7e1ceb2f8c10ac7624f17816 /sys/kern | |
parent | 51d300672358aa44ce92a29fd1d1377399f04979 (diff) |
WALTSIG is a valid option for sys_wait4().
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_exit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index 3884df3cc90..b74c64b0357 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exit.c,v 1.31 2001/05/16 05:07:52 millert Exp $ */ +/* $OpenBSD: kern_exit.c,v 1.32 2001/06/03 08:55:11 angelos Exp $ */ /* $NetBSD: kern_exit.c,v 1.39 1996/04/22 01:38:25 christos Exp $ */ /* @@ -427,7 +427,7 @@ sys_wait4(q, v, retval) if (SCARG(uap, pid) == 0) SCARG(uap, pid) = -q->p_pgid; - if (SCARG(uap, options) &~ (WUNTRACED|WNOHANG)) + if (SCARG(uap, options) &~ (WUNTRACED|WNOHANG|WALTSIG)) return (EINVAL); loop: |