t/io_uring: terminate buf[] file depth string
[fio.git] / t / io_uring.c
index 78b92685316cb7bc751cd3b49295be388f8a5807..dd510be5611a6365992fe228cb69932ae8e53844 100644 (file)
@@ -475,6 +475,7 @@ static void file_depths(char *buf)
        char *p;
        int i;
 
+       buf[0] = '\0';
        p = buf;
        for (i = 0; i < s->nr_files; i++) {
                struct file *f = &s->files[i];