-O pid: show/log process id of running tfcrypt.
[tfcrypt.git] / tfc_random.c
index 360b6584e8c2e0ed273235b519aa89d9b6f2e1ad..9f9105af68fdaf9a53beca93f24ff1e43882309d 100644 (file)
@@ -138,7 +138,7 @@ void gen_write_bytes(const char *foutname, tfc_fsize offset, tfc_fsize nrbytes)
        if (ctr_mode == TFC_MODE_PLAIN) memset(srcblk, 0, sizeof(srcblk));
 
        if (verbose) tfc_nfsay(stderr, "%s: writing %lld bytes to %s ... ",
-               progname, nrbytes, foutname);
+               tfc_format_pid(progname), nrbytes, foutname);
 
        errno = 0;
        do_stop = NO;