diff options
Diffstat (limited to 'regress/lib')
-rw-r--r-- | regress/lib/libpthread/cancel_wait/cancel_wait.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libpthread/cancel_wait/cancel_wait.c b/regress/lib/libpthread/cancel_wait/cancel_wait.c index 9b627512f11..eb5ca3db678 100644 --- a/regress/lib/libpthread/cancel_wait/cancel_wait.c +++ b/regress/lib/libpthread/cancel_wait/cancel_wait.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cancel_wait.c,v 1.1 2015/09/14 08:02:59 guenther Exp $ */ +/* $OpenBSD: cancel_wait.c,v 1.2 2015/09/14 08:36:32 guenther Exp $ */ /* PUBLIC DOMAIN <marc@snafu.org> */ /* @@ -52,7 +52,7 @@ int main(int argc, char *argv[]) { pthread_t thread; - void *ret; + void *ret = NULL; child = fork(); if (child == -1) |