Skip to content

Commit 9bea8cc

Browse files
use sleep insted of usleep
1 parent 599bec2 commit 9bea8cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/logic/sanity.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void fossil_sys_call_sleep(int milliseconds) {
4242
#ifdef _WIN32
4343
Sleep(milliseconds); // On Windows, use the Sleep function to sleep for the specified number of milliseconds.
4444
#else
45-
usleep(milliseconds * 1000); // On Unix-like systems, use the usleep function to sleep for the specified number of microseconds.
45+
sleep(milliseconds * 1000); // On Unix-like systems, use the usleep function to sleep for the specified number of microseconds.
4646
#endif
4747
}
4848

0 commit comments

Comments
 (0)