Merge branch 'arm-detect-pmull' of https://github.com/sitsofe/fio
[fio.git] / filelock.c
index 7e92f63d9c668b34ea45845b363e20ff02e0d357..fd3a6b29e422830f62d35234715b290d57713908 100644 (file)
@@ -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;
        }