One more missed s/td->filename/fn_given
authorJens Axboe <jens.axboe@oracle.com>
Mon, 12 Mar 2007 11:42:21 +0000 (12:42 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 12 Mar 2007 11:42:21 +0000 (12:42 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
init.c

diff --git a/init.c b/init.c
index e88ff9b..4bea304 100644 (file)
--- a/init.c
+++ b/init.c
@@ -841,7 +841,7 @@ static int add_job(struct thread_data *td, const char *jobname, int job_add_num)
 
        fixup_options(td);
 
-       if (td->filename)
+       if (fn_given)
                td->nr_uniq_files = 1;
        else
                td->nr_uniq_files = td->open_files;