X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=filelock.c;h=fd3a6b29e422830f62d35234715b290d57713908;hb=615c794cbf851c994e94fffe8b8f565e64f137a5;hp=7e92f63d9c668b34ea45845b363e20ff02e0d357;hpb=983a656c11bf35043759de48aa5a85bdb4ffb106;p=fio.git diff --git a/filelock.c b/filelock.c index 7e92f63d..fd3a6b29 100644 --- a/filelock.c +++ b/filelock.c @@ -179,7 +179,7 @@ static bool __fio_lock_file(const char *fname, int trylock) fio_sem_up(&fld->lock); if (!ff) { - assert(!trylock); + assert(trylock); return true; }