From a4788a6e14a9f964ed26bbf6bd52f0c6e5c63b21 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 13 Feb 2012 11:22:03 +0100 Subject: [PATCH] use correct format to print time_t (%zd) --- sparsecp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sparsecp.c b/sparsecp.c index eaa3085d..950a27ce 100644 --- a/sparsecp.c +++ b/sparsecp.c @@ -123,7 +123,7 @@ main (int argc, char **argv) time_t delay = time(NULL) - starttime; 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); outname = NULL;