diff options
| author | Loic Guegan <loic.guegan@mailbox.org> | 2024-02-02 13:28:00 +0100 |
|---|---|---|
| committer | Loic Guegan <loic.guegan@mailbox.org> | 2024-02-02 13:28:00 +0100 |
| commit | 9a34bc1d03e7d1691a2811250d8e953c14033d35 (patch) | |
| tree | 00cb71482df502c2a625bf1c60cf7c7730f3a6f2 | |
| parent | 45e5483b1bd538db7a06589fe25a6ad3e5dd6e32 (diff) | |
Minor changes
| -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"); } |
