diff options
Diffstat (limited to 'bin/date/date.c')
-rw-r--r-- | bin/date/date.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/date/date.c b/bin/date/date.c index 725a435..c71f9d3 100644 --- a/bin/date/date.c +++ b/bin/date/date.c @@ -175,6 +175,8 @@ main(int argc, char *argv[]) vary_destroy(v); (void)strftime(buf, sizeof(buf), format, <); (void)printf("%s\n", buf); + if (fflush(stdout)) + err(1, "stdout"); exit(retval); } |