summaryrefslogtreecommitdiffstats
path: root/perform/sio_engine.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2013-06-20 22:21:42 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2013-06-20 22:21:42 (GMT)
commit148fc618725c5b3e2749506490dae3ebeb7b4384 (patch)
tree9b61102e4fe86d668a304a8275277554445cab36 /perform/sio_engine.c
parent125e2a0a9d8beb22ab06e3300624df24a1192214 (diff)
downloadhdf5-148fc618725c5b3e2749506490dae3ebeb7b4384.zip
hdf5-148fc618725c5b3e2749506490dae3ebeb7b4384.tar.gz
hdf5-148fc618725c5b3e2749506490dae3ebeb7b4384.tar.bz2
[svn-r23801] Change printfs in perform output for long long to use %lld instead of %Hd. The later is for shorts.
This fixes: https://jira.hdfgroup.uiuc.edu/browse/HDFFV-8450 Tested on Jam.
Diffstat (limited to 'perform/sio_engine.c')
-rw-r--r--perform/sio_engine.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/perform/sio_engine.c b/perform/sio_engine.c
index df2e21e..5919c87 100644
--- a/perform/sio_engine.c
+++ b/perform/sio_engine.c
@@ -196,14 +196,14 @@ do_sio(parameters param)
/* Validate transfer buffer size */
if (param.buf_size[i]<=0) {
HDfprintf(stderr,
- "Transfer buffer size[%d] (%Hd) must be > 0\n", i,(long long)buf_size[i]);
+ "Transfer buffer size[%d] (%lld) must be > 0\n", i,(long long)buf_size[i]);
GOTOERROR(FAIL);
}
if ((param.dset_size[i]%param.buf_size[i])!=0) {
HDfprintf(stderr,
- "Dataset size[%d] (%Hd) must be a multiple of the "
- "trasfer buffer size[%d] (%Hd)\n",param.rank,
+ "Dataset size[%d] (%lld) must be a multiple of the "
+ "trasfer buffer size[%d] (%lld)\n",param.rank,
(long long)param.dset_size[i], param.rank, (long long)param.buf_size[i]);
GOTOERROR(FAIL);
}
@@ -212,7 +212,7 @@ do_sio(parameters param)
/* Allocate transfer buffer */
if ((buffer = malloc(linear_buf_size)) == NULL){
- HDfprintf(stderr, "malloc for transfer buffer size (%Hd) failed\n", (long long)(linear_buf_size));
+ HDfprintf(stderr, "malloc for transfer buffer size (%lld) failed\n", (long long)(linear_buf_size));
GOTOERROR(FAIL);
}