summaryrefslogtreecommitdiff
path: root/user/zombie.c
diff options
context:
space:
mode:
Diffstat (limited to 'user/zombie.c')
-rw-r--r--user/zombie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/zombie.c b/user/zombie.c
index b56231a..8b89a33 100644
--- a/user/zombie.c
+++ b/user/zombie.c
@@ -10,5 +10,5 @@ main(void)
{
if(fork() > 0)
sleep(5); // Let child exit before parent.
- exit();
+ exit(0);
}