From a93744423d432482116d1bd4f41660a9f4232ed4 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Fri, 1 Jul 2016 08:14:05 -0700 Subject: [PATCH] pngcp.c: correct total time output Signed-off-by: John Bowler --- contrib/tools/pngcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/tools/pngcp.c b/contrib/tools/pngcp.c index 829a4494c..924d6e9c6 100644 --- a/contrib/tools/pngcp.c +++ b/contrib/tools/pngcp.c @@ -2420,12 +2420,12 @@ main(const int argc, const char * const * const argv) int output = 0; if ((d.value[OPTIND(&d,time)] & PNGCP_TIME_READ) != 0) - print_time("read", d.read_time), output = 1; + print_time("read", d.read_time_total), output = 1; if ((d.value[OPTIND(&d,time)] & PNGCP_TIME_WRITE) != 0) { if (output) putchar(' '); - print_time("write", d.write_time); + print_time("write", d.write_time_total); output = 1; }