Skip to content

Commit

Permalink
flush stdout to facilitate logging
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrovski committed May 4, 2012
1 parent ba29c10 commit c3fbf4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wattsup.c
Expand Up @@ -281,6 +281,7 @@ static void msg_start(const char * fmt, ...)
static void msg_end(void) static void msg_end(void)
{ {
printf("\n"); printf("\n");
fflush(stdout);
} }


static void msg(const char * fmt, ...) static void msg(const char * fmt, ...)
Expand Down

0 comments on commit c3fbf4e

Please sign in to comment.