diff options
| author | 2001-06-03 08:55:11 +0000 | |
|---|---|---|
| committer | 2001-06-03 08:55:11 +0000 | |
| commit | df97c4a70082b0f266cf7d2523bb799d7b4811bb (patch) | |
| tree | d5dd2bc1695602216fd73832c2c5fa1b8bc2a774 /sys/kern/kern_exit.c | |
| parent | Use KERN_NPROCS to get the number of processes on the system, to (diff) | |
| download | wireguard-openbsd-df97c4a70082b0f266cf7d2523bb799d7b4811bb.tar.xz wireguard-openbsd-df97c4a70082b0f266cf7d2523bb799d7b4811bb.zip | |
WALTSIG is a valid option for sys_wait4().
Diffstat (limited to 'sys/kern/kern_exit.c')
| -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: |
