projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix warning with newer gcc in str_numa_mpol_cb()
[fio.git]
/
options.c
diff --git
a/options.c
b/options.c
index 1ca48017e221f9e42c4debed48f384577a32b913..6462c67c3a92ff7c1a966ef90e33b8814219928f 100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-550,7
+550,7
@@
static int str_numa_mpol_cb(void *data, char *input)
{
struct thread_data *td = data;
const char * const policy_types[] =
- { "default", "prefer", "bind", "interleave", "local" };
+ { "default", "prefer", "bind", "interleave", "local"
, NULL
};
int i;
char *nodelist = strchr(input, ':');