engines/nvme: fix 'fd' leak in error handling
[fio.git] / engines / filestat.c
index 405f028d11cd383aa48d4e6c3840a592a1074b4b..e587eb542d1bcac9c8a0d2f45558136fdc536bc1 100644 (file)
@@ -125,7 +125,7 @@ static int stat_file(struct thread_data *td, struct fio_file *f)
                uint64_t nsec;
 
                nsec = ntime_since_now(&start);
-               add_clat_sample(td, data->stat_ddir, nsec, 0, 0, 0);
+               add_clat_sample(td, data->stat_ddir, nsec, 0, 0, 0, 0);
        }
 
        return 0;