summaryrefslogtreecommitdiffstats
path: root/perform/sio_perf.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2013-06-24 18:16:58 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2013-06-24 18:16:58 (GMT)
commit1e38ef67189e27d308b11e3fa35a73f8fdfaf043 (patch)
treef08f6db85a6eb514d0f10e2ee2009bb1136b2f89 /perform/sio_perf.c
parent6fedfb6124e2c2ec3c93b3738dd1080c180f015e (diff)
downloadhdf5-1e38ef67189e27d308b11e3fa35a73f8fdfaf043.zip
hdf5-1e38ef67189e27d308b11e3fa35a73f8fdfaf043.tar.gz
hdf5-1e38ef67189e27d308b11e3fa35a73f8fdfaf043.tar.bz2
[svn-r23810] revert printf format changes to do a better solution.
Diffstat (limited to 'perform/sio_perf.c')
-rw-r--r--perform/sio_perf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/perform/sio_perf.c b/perform/sio_perf.c
index a7de8eb..16e1750 100644
--- a/perform/sio_perf.c
+++ b/perform/sio_perf.c
@@ -827,14 +827,14 @@ recover_size_and_print(long long val, const char *end)
if (val >= ONE_KB && (val % ONE_KB) == 0) {
if (val >= ONE_MB && (val % ONE_MB) == 0) {
if (val >= ONE_GB && (val % ONE_GB) == 0)
- HDfprintf(output, "%lldGB%s", val / ONE_GB, end);
+ HDfprintf(output, "%HdGB%s", val / ONE_GB, end);
else
- HDfprintf(output, "%lldMB%s", val / ONE_MB, end);
+ HDfprintf(output, "%HdMB%s", val / ONE_MB, end);
} else {
- HDfprintf(output, "%lldKB%s", val / ONE_KB, end);
+ HDfprintf(output, "%HdKB%s", val / ONE_KB, end);
}
} else {
- HDfprintf(output, "%lld%s", val, end);
+ HDfprintf(output, "%Hd%s", val, end);
}
}
@@ -860,7 +860,7 @@ report_parameters(struct options *opts)
HDfprintf(output, "IO API=");
print_io_api(opts->io_types);
- HDfprintf(output, "Number of iterations=%lld\n",
+ HDfprintf(output, "Number of iterations=%Hd\n",
(long long)opts->num_iters);
HDfprintf(output, "Dataset size=");