gfio: correctly input stored FIO_OPT_STR_STORE options
[fio.git] / 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;
                }