diff options
| -rw-r--r-- | src/publisher.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/publisher.c b/src/publisher.c index ff3dded..36bc36b 100644 --- a/src/publisher.c +++ b/src/publisher.c @@ -37,8 +37,8 @@ void askforbreak(char *break_file){ FILE * file; file = fopen(break_file, "r"); while(file){ - printf("I am doing a break for %ds", BREAK_DURATION); - usleep(BREAK_DURATION * 1000); + printf("I am doing a break for %ds\n", BREAK_DURATION); + usleep(BREAK_DURATION * 1000000); fclose(file); file = fopen(break_file, "r"); } |
