use correct format to print time_t (%zd)

This commit is contained in:
Dietmar Maurer 2012-02-13 11:22:03 +01:00
parent da21653bfb
commit a4788a6e14

View File

@ -123,7 +123,7 @@ main (int argc, char **argv)
time_t delay = time(NULL) - starttime; time_t delay = time(NULL) - starttime;
if (delay <= 0) delay = 1; if (delay <= 0) delay = 1;
fprintf (stderr, "%zu bytes copied, %d s, %.2f MiB/s\n", total, delay, fprintf (stderr, "%zu bytes copied, %zd s, %.2f MiB/s\n", total, delay,
(total/(1024*1024))/(float)delay); (total/(1024*1024))/(float)delay);
outname = NULL; outname = NULL;