diff options
Diffstat (limited to 'regress/lib/libpthread/pthread_atfork')
| -rw-r--r-- | regress/lib/libpthread/pthread_atfork/pthread_atfork.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/lib/libpthread/pthread_atfork/pthread_atfork.c b/regress/lib/libpthread/pthread_atfork/pthread_atfork.c index ccf69105836..61c8dc7b7f3 100644 --- a/regress/lib/libpthread/pthread_atfork/pthread_atfork.c +++ b/regress/lib/libpthread/pthread_atfork/pthread_atfork.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pthread_atfork.c,v 1.1 2005/10/31 01:01:29 fgsch Exp $ */ +/* $OpenBSD: pthread_atfork.c,v 1.2 2005/10/31 04:55:39 fgsch Exp $ */ /* * Federico Schwindt <fgsch@openbsd.org>, 2005. Public Domain. @@ -63,6 +63,7 @@ forker1(void *arg) cnt = 1; switch (fork()) { case -1: + PANIC("fork"); break; case 0: @@ -87,6 +88,7 @@ forker2(void *arg) cnt = 2; switch (fork()) { case -1: + PANIC("fork"); break; case 0: |
