X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=tfc_bench.c;h=e8ddaa3a7f5803b9890c54552cc6928de89cac4d;hb=ba5ce99d77078a8629779641e8506b74e50fe6af;hp=435354b27aeb96cceef6628db524c89c8ac39280;hpb=f761a53231d1a023e2d3e5efcc5591b04a34f98a;p=tfcrypt.git diff --git a/tfc_bench.c b/tfc_bench.c index 435354b..e8ddaa3 100644 --- a/tfc_bench.c +++ b/tfc_bench.c @@ -54,7 +54,7 @@ void do_benchmark(tfc_useconds useconds, double dseconds) if (ctr_mode == TFC_MODE_STREAM) tfe_init_iv(&tfe, key, ctr); if (ctr_mode == TFC_MODE_XTS) tfc_getrandom(xtskey, sizeof(xtskey)); - tfc_nfsay(stdout, "%s: doing %s benchmark for %.4f seconds ... ", progname, tfc_modename(ctr_mode), dseconds); + tfc_nfsay(stdout, "%s: doing %s benchmark for %.4f seconds ... ", tfc_format_pid(progname), tfc_modename(ctr_mode), dseconds); do_stop = NO; while (1) {