diff options
-rw-r--r-- | snooze.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/snooze.c b/snooze.c index 1dda3eb..8bbd93f 100644 --- a/snooze.c +++ b/snooze.c @@ -244,6 +244,8 @@ main(int argc, char *argv[]) minute[0] = '*'; second[0] = '*'; + setvbuf(stdout, 0, _IOLBF, 0); + while ((c = getopt(argc, argv, "+D:W:H:M:S:T:R:d:m:ns:t:vw:")) != -1) switch (c) { case 'D': parse(optarg, dayofyear, sizeof dayofyear, -1); break; |