diff options
Diffstat (limited to 'regress/sys/kern/wait')
-rw-r--r-- | regress/sys/kern/wait/wait.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/sys/kern/wait/wait.c b/regress/sys/kern/wait/wait.c index 1b93de0ac20..3804ca60b8c 100644 --- a/regress/sys/kern/wait/wait.c +++ b/regress/sys/kern/wait/wait.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wait.c,v 1.1 2003/11/04 07:38:08 mickey Exp $ */ +/* $OpenBSD: wait.c,v 1.2 2017/03/08 19:25:00 deraadt Exp $ */ /* * Written by Artur Grabowski <art@openbsd.org> 2002 Public Domain. */ @@ -14,11 +14,11 @@ main() { int status; - switch(fork()) { + switch (fork()) { case -1: err(1, "fork"); case 0: - __syscall((u_int64_t)SYS_exit, 17, 0); + _exit(17); abort(); } |