X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=tfc_bench.c;h=e8ddaa3a7f5803b9890c54552cc6928de89cac4d;hb=cdd9119e29f2f865403303adb8b6004b863db968;hp=435354b27aeb96cceef6628db524c89c8ac39280;hpb=13cc886eb2edfe7be4e65067be6df01e2f08436a;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) {