From: Jens Axboe Date: Fri, 16 Mar 2012 17:53:32 +0000 (+0100) Subject: gfio: correctly input stored FIO_OPT_STR_STORE options X-Git-Tag: gfio-0.1~111 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=d3944493e27d55f66e18781ce1b6071cb91a7ecc gfio: correctly input stored FIO_OPT_STR_STORE options Signed-off-by: Jens Axboe --- diff --git a/goptions.c b/goptions.c index 9b6fca60..98a05fa1 100644 --- a/goptions.c +++ b/goptions.c @@ -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; }