about summary refs log tree commit diff
path: root/posix/test-vfork.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/test-vfork.c')
-rw-r--r--posix/test-vfork.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/test-vfork.c b/posix/test-vfork.c
index 66c17c3d90..dd2b1c7727 100644
--- a/posix/test-vfork.c
+++ b/posix/test-vfork.c
@@ -32,7 +32,8 @@ main (void)
   if (waitpid (0, &status, 0) != pid
       || !WIFEXITED (status) || WEXITSTATUS (status) != NR)
     exit (1);
-  exit (0);
+
+  return 0;
 }
 
 void