projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
39f0433
)
gfio: correctly input stored FIO_OPT_STR_STORE options
author
Jens Axboe
<axboe@kernel.dk>
Fri, 16 Mar 2012 17:53:32 +0000
(18:53 +0100)
committer
Jens 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
patch
|
blob
|
blame
|
history
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;
}