gfio: correctly input stored FIO_OPT_STR_STORE options
authorJens Axboe <axboe@kernel.dk>
Fri, 16 Mar 2012 17:53:32 +0000 (18:53 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 16 Mar 2012 17:53:32 +0000 (18:53 +0100)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
goptions.c

index 9b6fca606859ca38284a8b35739b49083b6eecfc..98a05fa1ee510b626bec18f6847dfddd0a456746 100644 (file)
@@ -287,7 +287,7 @@ static void gopt_add_option(GtkWidget *hbox, struct fio_option *o,
        case FIO_OPT_STR_STORE: {
                char *text = NULL;
 
-               if (o->off1 && !o->cb) {
+               if (o->off1) {
                        char **p = td_var(to, o->off1);
                        text = *p;
                }