summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multipathd/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/multipathd/main.c b/multipathd/main.c
index e7955bd..3f7eb49 100644
--- a/multipathd/main.c
+++ b/multipathd/main.c
@@ -1440,7 +1440,7 @@ child (void * param)
pthread_create(&uxlsnr_thr, &misc_attr, uxlsnrloop, vecs);
pthread_attr_destroy(&misc_attr);
- lock(&exit_mutex);
+ pthread_mutex_lock(&exit_mutex);
pthread_cond_wait(&exit_cond, &exit_mutex);
/*