summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2012-08-22 22:51:28 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2012-08-22 22:51:28 +0000
commit8514a201ec15acec40cd0ea37227745d30cfcc5f (patch)
tree13d2edc08e4857f5cb86157c4f9bd1b299cadbe2 /regress
parent9b5e9ac4f9a96d6324a9d299814a8a4a3a7c415e (diff)
correct check.
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libpthread/blocked_join/blocked_join.c4
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 */
}