X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=profile.c;h=90c9ea8d14eb6c4d52c5a94bef7eab3e32fc0a0e;hp=92f2fc4624bbd719241e470701a85c9b6888b9d8;hb=265c0032da5a38c5d04d538a9a3159b44e51fe18;hpb=d4afedfd152cea890ffa7d45bf1664fb70218c45 diff --git a/profile.c b/profile.c index 92f2fc46..90c9ea8d 100644 --- a/profile.c +++ b/profile.c @@ -31,7 +31,7 @@ int load_profile(const char *profile) ops = find_profile(profile); if (ops) { if (ops->prep_cmd()) { - log_err("fio: profile prep failed\n"); + log_err("fio: profile %s prep failed\n", profile); return 1; } add_job_opts(ops->cmdline, FIO_CLIENT_TYPE_CLI); @@ -52,6 +52,7 @@ static int add_profile_options(struct profile_ops *ops) o = ops->options; while (o->name) { o->prof_name = ops->name; + o->prof_opts = ops->opt_data; if (add_option(o)) return 1; o++;