Minor changes

This commit is contained in:
Loïc Guégan 2024-02-02 13:31:17 +01:00
parent 9a34bc1d03
commit cab15f605e

View file

@ -38,7 +38,7 @@ void askforbreak(char *break_file){
file = fopen(break_file, "r"); file = fopen(break_file, "r");
while(file){ while(file){
printf("I am doing a break for %ds\n", BREAK_DURATION); printf("I am doing a break for %ds\n", BREAK_DURATION);
usleep(BREAK_DURATION * 1000000); sleep(BREAK_DURATION);
fclose(file); fclose(file);
file = fopen(break_file, "r"); file = fopen(break_file, "r");
} }