diff options
Diffstat (limited to 'miscutils/time.c')
-rw-r--r-- | miscutils/time.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/miscutils/time.c b/miscutils/time.c index 42c812a42..342173609 100644 --- a/miscutils/time.c +++ b/miscutils/time.c | |||
@@ -414,9 +414,7 @@ int time_main(int argc UNUSED_PARAM, char **argv) | |||
414 | run_command(argv, &res); | 414 | run_command(argv, &res); |
415 | 415 | ||
416 | /* Cheat. printf's are shorter :) */ | 416 | /* Cheat. printf's are shorter :) */ |
417 | /* (but see bb_putchar() body for additional wrinkle!) */ | 417 | xdup2(STDERR_FILENO, STDOUT_FILENO); |
418 | xdup2(2, 1); /* just in case libc does something silly :( */ | ||
419 | stdout = stderr; | ||
420 | summarize(output_format, argv, &res); | 418 | summarize(output_format, argv, &res); |
421 | 419 | ||
422 | if (WIFSTOPPED(res.waitstatus)) | 420 | if (WIFSTOPPED(res.waitstatus)) |