Commit 9bdc7906 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix typo

parent 0a5bd123
...@@ -329,7 +329,7 @@ void msleep( mtime_t delay ) ...@@ -329,7 +329,7 @@ void msleep( mtime_t delay )
lldiv_t d = lldiv( delay, 1000000 ); lldiv_t d = lldiv( delay, 1000000 );
struct timespec ts = { d.quot, d.rem * 1000 }; struct timespec ts = { d.quot, d.rem * 1000 };
# if (_POSIX_CLOCK_MONOTONIC - 0 >= 0) # if (_POSIX_MONOTONIC_CLOCK - 0 >= 0)
if( clock_nanosleep( CLOCK_MONOTONIC, 0, &ts, NULL ) ) if( clock_nanosleep( CLOCK_MONOTONIC, 0, &ts, NULL ) )
# endif # endif
clock_nanosleep( CLOCK_REALTIME, 0, &ts, NULL ); clock_nanosleep( CLOCK_REALTIME, 0, &ts, NULL );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment