X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=filesetup.c;h=8b04560907b911f8bcc7a484f71964e36d055708;hp=96d1b54f0a0f5bd6f6851b629e6f1e584460f5d3;hb=bc3456fa06cc7777c4764da8c7b1c0fd0a3c3772;hpb=f3f552b9920cc45c5b1f9c679f36b8ddb13927d0 diff --git a/filesetup.c b/filesetup.c index 96d1b54f..8b045609 100644 --- a/filesetup.c +++ b/filesetup.c @@ -906,8 +906,10 @@ void dup_files(struct thread_data *td, struct thread_data *org) __f = smalloc(sizeof(*__f)); - if (f->file_name) + if (f->file_name) { __f->file_name = smalloc_strdup(f->file_name); + __f->filetype = f->filetype; + } td->files[i] = __f; }