diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2015-05-05 15:51:51 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2015-05-05 15:51:51 (GMT) |
commit | 3a02345777323ed97c4d78fe6d57176e55354c2f (patch) | |
tree | 5e8e9ec65519349f8afd31815c657442f9ae24e3 | |
parent | 0918faa89e1283a3ecefda7845eeff8bc0fcc738 (diff) | |
download | hdf5-3a02345777323ed97c4d78fe6d57176e55354c2f.zip hdf5-3a02345777323ed97c4d78fe6d57176e55354c2f.tar.gz hdf5-3a02345777323ed97c4d78fe6d57176e55354c2f.tar.bz2 |
[svn-r27013] Merge h5ls external file format fix from trunk
-rw-r--r-- | tools/h5ls/h5ls.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c index 4b8a50b..9d19706 100644 --- a/tools/h5ls/h5ls.c +++ b/tools/h5ls/h5ls.c @@ -1859,17 +1859,17 @@ dataset_list2(hid_t dset, const char UNUSED *name) for (i=0, total=0; i<nf; i++) { if (H5Pget_external(dcpl, (unsigned)i, sizeof(f_name), f_name, &f_offset, &f_size)<0) { h5tools_str_append(&buffer, - " #%03d %10"HSIZE_T_FORMAT"u %10s %10s ***ERROR*** %s\n", + " #%03d %10"H5_PRINTF_LL_WIDTH"u %10s %10s ***ERROR*** %s\n", i, total, "", "", i+1<nf?"Following addresses are incorrect":""); } else if (H5S_UNLIMITED==f_size) { - h5tools_str_append(&buffer, " #%03d %10"HSIZE_T_FORMAT"u %10"HSIZE_T_FORMAT"u %10s ", + h5tools_str_append(&buffer, " #%03d %10"H5_PRINTF_LL_WIDTH"u %10"H5_PRINTF_LL_WIDTH"u %10s ", i, total, (hsize_t)f_offset, "INF"); print_string(&buffer, f_name, TRUE); } else { - h5tools_str_append(&buffer, " #%03d %10"HSIZE_T_FORMAT"u %10"HSIZE_T_FORMAT"u %10"HSIZE_T_FORMAT"u ", + h5tools_str_append(&buffer, " #%03d %10"H5_PRINTF_LL_WIDTH"u %10"H5_PRINTF_LL_WIDTH"u %10"H5_PRINTF_LL_WIDTH"u ", i, total, (hsize_t)f_offset, f_size); print_string(&buffer, f_name, TRUE); } |