aboutsummaryrefslogtreecommitdiff
path: root/posix/test-vfork.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-02-14 20:03:55 +0000
committerUlrich Drepper <drepper@redhat.com>1999-02-14 20:03:55 +0000
commitb119507013bc4cdc19011f2b3e8e4e7e7a3bb9d9 (patch)
tree4ef33706ab550ca96fb0e3f0d1a3798e22bfbc3f /posix/test-vfork.c
parent2c7311525411098608af7f2d597ab45bb32af717 (diff)
downloadglibc-b119507013bc4cdc19011f2b3e8e4e7e7a3bb9d9.tar
glibc-b119507013bc4cdc19011f2b3e8e4e7e7a3bb9d9.tar.gz
glibc-b119507013bc4cdc19011f2b3e8e4e7e7a3bb9d9.tar.bz2
glibc-b119507013bc4cdc19011f2b3e8e4e7e7a3bb9d9.zip
Update.
1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> * stdio-common/Makefile (tests): tllformat added. * stdio-common/tllformat.c: New program, based on tiformat.c with examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>. 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * posix/test-vfork.c: Fix exit status test. 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964]. 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
Diffstat (limited to 'posix/test-vfork.c')
-rw-r--r--posix/test-vfork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/test-vfork.c b/posix/test-vfork.c
index 959dcb3b01..2abeb5ae14 100644
--- a/posix/test-vfork.c
+++ b/posix/test-vfork.c
@@ -29,7 +29,7 @@ main (void)
error (1, errno, "vfork");
printf ("After vfork (parent)\n");
if (waitpid (0, &status, 0) != pid
- || !WIFEXITED (status) || WEXITSTATUS (NR))
+ || !WIFEXITED (status) || WEXITSTATUS (status) != NR)
exit (1);
exit (0);
}