Confusion between mutex and semaphore naming
[fio.git] / init.c
diff --git a/init.c b/init.c
index 659972976c444aabaf456965ad5b5022fa92fb89..d860179df6dcbe98f43f60d5a8ba999609b87824 100644 (file)
--- a/init.c
+++ b/init.c
@@ -466,7 +466,7 @@ static int add_job(struct thread_data *td, const char *jobname, int job_add_num)
                        f->real_file_size = -1ULL;
        }
 
-       td->mutex = fio_sem_init(0);
+       td->mutex = fio_mutex_init(0);
 
        td->ts.clat_stat[0].min_val = td->ts.clat_stat[1].min_val = ULONG_MAX;
        td->ts.slat_stat[0].min_val = td->ts.slat_stat[1].min_val = ULONG_MAX;