X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=init.c;h=63826662f2fbba0e7fd902c01399afad2202f0a9;hp=aa31138c155b86f70315a375071e1a58c9d821f3;hb=f2e714707b27f5918a4020e3090d2b346094379c;hpb=449767ed6db2e0cb36f880d52573b069864286d0 diff --git a/init.c b/init.c index aa31138c..63826662 100644 --- a/init.c +++ b/init.c @@ -22,7 +22,7 @@ #include "lib/getopt.h" -static char fio_version_string[] = "fio 1.52"; +static char fio_version_string[] = "fio 1.53"; #define FIO_RANDSEED (0xb1899bedUL) @@ -191,7 +191,7 @@ static void put_job(struct thread_data *td) { if (td == &def_thread) return; - + profile_td_exit(td); if (td->error) @@ -835,7 +835,7 @@ static int parse_jobs_ini(char *file, int stonewall_flag) if (is_empty_or_comment(p)) continue; - if (sscanf(p, "[%255s]", name) != 1) { + if (sscanf(p, "[%255[^\n]]", name) != 1) { if (inside_skip) continue; log_err("fio: option <%s> outside of [] job section\n",