projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gfio: correctly input stored FIO_OPT_STR_STORE options
[fio.git]
/
goptions.c
diff --git
a/goptions.c
b/goptions.c
index 9b6fca606859ca38284a8b35739b49083b6eecfc..98a05fa1ee510b626bec18f6847dfddd0a456746 100644
(file)
--- 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;
}