diff options
author | 2012-08-22 22:51:27 +0000 | |
---|---|---|
committer | 2012-08-22 22:51:27 +0000 | |
commit | 3d31bb10c3f6c255bab0b4f5bd0278034a057dfa (patch) | |
tree | caaeaabb087d337594e33f6a59a37e08bac2edf5 | |
parent | Test for __PIC__ instead of PIC in preparation for eliminating -DPIC (diff) | |
download | wireguard-openbsd-3d31bb10c3f6c255bab0b4f5bd0278034a057dfa.tar.xz wireguard-openbsd-3d31bb10c3f6c255bab0b4f5bd0278034a057dfa.zip |
correct check.
-rw-r--r-- | regress/lib/libpthread/blocked_join/blocked_join.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libpthread/blocked_join/blocked_join.c b/regress/lib/libpthread/blocked_join/blocked_join.c index 0032dfbd184..20cf748d4c3 100644 --- a/regress/lib/libpthread/blocked_join/blocked_join.c +++ b/regress/lib/libpthread/blocked_join/blocked_join.c @@ -1,4 +1,4 @@ -/* $OpenBSD: blocked_join.c,v 1.1 2012/02/27 23:40:37 fgsch Exp $ */ +/* $OpenBSD: blocked_join.c,v 1.2 2012/08/22 22:51:27 fgsch Exp $ */ /* * Federico G. Schwindt <fgsch@openbsd.org>, 2012. Public Domain. */ @@ -42,7 +42,7 @@ main(int argc, char **argv) break; default: - CHECKr(waitpid(pid, NULL, 0)); + CHECKe(waitpid(pid, NULL, 0)); _exit(0); /* NOTREACHED */ } |