waitid(2) returns 0 on success; do post-call cancelation only if
authorguenther <guenther@openbsd.org>
Mon, 19 Dec 2022 03:40:20 +0000 (03:40 +0000)
committerguenther <guenther@openbsd.org>
Mon, 19 Dec 2022 03:40:20 +0000 (03:40 +0000)
commit54569cf17b352c31ddf0d3e1dd7acee462d4e90e
tree0c68d5205313cc52621676f2069c80b0737fd9eb
parent60972c460a5aa9e23ce1b2da9adc4d37596fff7f
waitid(2) returns 0 on success; do post-call cancelation only if
it either failed, or succeeded but didn't put a status into infop.

ok millert@
lib/libc/sys/w_waitid.c