X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=tfc_bench.c;h=e8ddaa3a7f5803b9890c54552cc6928de89cac4d;hb=9ac86c906f37b9b9dce4f018c90d420f947e05a9;hp=595009ec4294dc28ed953dd2a2267fc022e50690;hpb=efa545d64b910923248233618e774ca3b87efebb;p=tfcrypt.git diff --git a/tfc_bench.c b/tfc_bench.c index 595009e..e8ddaa3 100644 --- a/tfc_bench.c +++ b/tfc_bench.c @@ -2,7 +2,7 @@ * tfcrypt -- high security Threefish encryption tool. * * tfcrypt is copyrighted: - * Copyright (C) 2012-2018 Andrey Rys. All rights reserved. + * Copyright (C) 2012-2019 Andrey Rys. All rights reserved. * * tfcrypt is licensed to you under the terms of std. MIT/X11 license: * @@ -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) {