Skip to content
Snippets Groups Projects
Commit 720fac7f authored by Rafaël Carré's avatar Rafaël Carré
Browse files

Fixes order of operands in a substraction.

courmisch, you make too much, it's time to have a rest
parent 33cae442
No related branches found
No related tags found
No related merge requests found
...@@ -237,7 +237,7 @@ void mwait( mtime_t date ) ...@@ -237,7 +237,7 @@ void mwait( mtime_t date )
clock_nanosleep( CLOCK_REALTIME, TIMER_ABSTIME, &ts, NULL ); clock_nanosleep( CLOCK_REALTIME, TIMER_ABSTIME, &ts, NULL );
#else #else
mtime_t delay = mdate() - date; mtime_t delay = date - mdate();
if( delay > 0 ) if( delay > 0 )
msleep( delay ); msleep( delay );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment