ioengines: fixup td_io_unlink_file() error propagation
[fio.git] / engines / pmemblk.c
index 6d19864ae0dbf8d3b884e1f4743ba92a0bf61854..ca72697819511dc1190658bc687d2f5534f621f4 100644 (file)
@@ -475,7 +475,7 @@ static int fio_pmemblk_unlink_file(struct thread_data *td, struct fio_file *f)
 
        pmb_parse_path(f->file_name, &path, &bsize, &fsize);
        if (!path)
-               return 1;
+               return ENOENT;
 
        unlink(path);
        free(path);