projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ad8da8
)
Use strcasestr() for matching filename_prefix keywords
author
Jens Axboe
<axboe@kernel.dk>
Fri, 5 Apr 2013 12:44:51 +0000
(14:44 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 5 Apr 2013 12:44:51 +0000
(14:44 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
init.c
patch
|
blob
|
blame
|
history
diff --git
a/init.c
b/init.c
index 0da878d52ff135ebe20efe3081742dc674e14252..92b3e5b2a4a78f50b669fb9312580d7124bbb9cf 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-26,6
+26,7
@@
#include "idletime.h"
#include "lib/getopt.h"
+#include "lib/strcasestr.h"
const char fio_version_string[] = FIO_VERSION;
@@
-838,7
+839,7
@@
static char *make_filename(char *buf, struct thread_options *o,
size_t pre_len, post_start = 0;
char *str, *dst = copy;
- str = strstr(buf, f->keyword);
+ str = str
case
str(buf, f->keyword);
if (!str)
break;