X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=filelock.c;h=fd3a6b29e422830f62d35234715b290d57713908;hb=a1db4528a59a99c5e2aa66091c505fb60e3a70ca;hp=7e92f63d9c668b34ea45845b363e20ff02e0d357;hpb=2e97fa1b0d76edc6517fa4a8a4f6e0792b458e8c;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; }