aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main_notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_notify.c b/src/main_notify.c
index a358a7053..1ecc11f3a 100644
--- a/src/main_notify.c
+++ b/src/main_notify.c
@@ -96,7 +96,7 @@ static void wakeup_via_cond(void)
if (ret == EBUSY)
return; /* nope, no need to wakeup at all */
- pthread_cond_broadcast(&main_wakeup);
+ pthread_cond_signal(&main_wakeup);
pthread_mutex_unlock(&main_wakeup_mutex);
}