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 e88ff9b178a56de8d95285d5251225134dc20d0e..4bea304e449c90235c2710dab8190f312f54cdad 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;