X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=init.c;h=08429c4b027b53e2b1c18b017d28e89c267145b2;hp=91699777e239ee0a04c99f8fdd5fdd52a0a1f5fa;hb=02444ad1868ee94c7c38810cc775784e6a9a5dbe;hpb=2577594dd6e2857d9efbf6bd81cd7ef507dbcd64;ds=sidebyside diff --git a/init.c b/init.c index 91699777..08429c4b 100644 --- a/init.c +++ b/init.c @@ -19,7 +19,7 @@ #include "smalloc.h" #include "filehash.h" -static char fio_version_string[] = "fio 1.21"; +static char fio_version_string[] = "fio 1.22-rc2"; #define FIO_RANDSEED (0xb1899bedUL) @@ -637,6 +637,7 @@ static int parse_jobs_ini(char *file, int stonewall_flag) alloc_opts = 8; opts = malloc(sizeof(char *) * alloc_opts); + num_opts = 0; stonewall = stonewall_flag; do { @@ -877,7 +878,7 @@ struct debug_level debug_levels[] = { { .name = "parse", .shift = FD_PARSE }, { .name = "diskutil", .shift = FD_DISKUTIL }, { .name = "job", .shift = FD_JOB }, - { }, + { .name = NULL, }, }; static int set_debug(const char *string)