summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-08-02 15:15:54 +0200
committerSimon Rettberg2019-08-02 15:15:54 +0200
commit5fe710b406333613a65d072b13e5e687e54c62d8 (patch)
tree439aa76d72c434c54da467ae7b97c92c4064d742
parent[SERVER] Turn all spinlocks into mutexes (diff)
downloaddnbd3-5fe710b406333613a65d072b13e5e687e54c62d8.tar.gz
dnbd3-5fe710b406333613a65d072b13e5e687e54c62d8.tar.xz
dnbd3-5fe710b406333613a65d072b13e5e687e54c62d8.zip
[SERVER] Fix compile in release mode
-rw-r--r--src/server/locks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/locks.h b/src/server/locks.h
index 859697c..7f72722 100644
--- a/src/server/locks.h
+++ b/src/server/locks.h
@@ -31,7 +31,7 @@ void debug_dump_lock_stats();
#define mutex_lock( lock ) pthread_mutex_lock(lock)
#define mutex_trylock( lock ) pthread_mutex_trylock(lock)
#define mutex_unlock( lock ) pthread_mutex_unlock(lock)
-#define mutex_cond_wait( lock ) pthread_cond_wait(cond, lock)
+#define mutex_cond_wait( cond, lock ) pthread_cond_wait(cond, lock)
#define mutex_destroy( lock ) pthread_mutex_destroy(lock)
#endif