summaryrefslogtreecommitdiffstats
diff options
context:
space:
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