diff options
| author | Sean Chittenden <seanc@FreeBSD.org> | 2003-10-17 07:53:30 +0000 |
|---|---|---|
| committer | Sean Chittenden <seanc@FreeBSD.org> | 2003-10-17 07:53:30 +0000 |
| commit | 77879b47b73053aa05fdc9c2a5b609cd8debaa4f (patch) | |
| tree | d3e49add2243b7093c39c16d735148c1f66a277a | |
| parent | e8b6bb6f87c33d22a7d2c37da992532a2446838d (diff) | |
Notes
| -rw-r--r-- | usr.bin/time/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/time/time.c b/usr.bin/time/time.c index f5cba93edb86..ac154165eaa3 100644 --- a/usr.bin/time/time.c +++ b/usr.bin/time/time.c @@ -128,7 +128,7 @@ main(int argc, char **argv) /* parent */ (void)signal(SIGINT, SIG_IGN); (void)signal(SIGQUIT, SIG_IGN); - while (wait3(&status, 0, &ru) != pid); /* XXX use waitpid */ + while (wait4(pid, &status, 0, &ru) != pid); gettimeofday(&after, (struct timezone *)NULL); if ( ! WIFEXITED(status)) warnx("command terminated abnormally"); |
