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 9b6fca6..98a05fa 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;
                }