X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=init.c;h=54e2ecae28202622d6954308d192439bb55dca2c;hp=0352c555c8a9b191e8adff4fb4514ae976afbc69;hb=3c9b60c1fb144950ca51220ffa18f485672c3ba6;hpb=5c1014b7aed20dcb4af602239d8f5f53d1e3160e diff --git a/init.c b/init.c index 0352c555..54e2ecae 100644 --- a/init.c +++ b/init.c @@ -539,8 +539,8 @@ static char *to_kmg(unsigned int val) */ static int add_job(struct thread_data *td, const char *jobname, int job_add_num) { - char *ddir_str[] = { "read", "write", "randread", "randwrite", - "rw", NULL, "randrw" }; + const char *ddir_str[] = { "read", "write", "randread", "randwrite", + "rw", NULL, "randrw" }; struct stat sb; int numjobs, ddir, i; struct fio_file *f;