summaryrefslogtreecommitdiffstats
path: root/tools/h5ls
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-04-28 21:46:56 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-04-28 21:46:56 (GMT)
commit1c30759aae4106504dd5f67ac4543c6c1be66203 (patch)
tree4a6ef478162992e286f3c47efcc8ed6adb8bd22c /tools/h5ls
parent2417fd7b63d59eef4d3fc1cd5a61c0fd0bbb526f (diff)
downloadhdf5-1c30759aae4106504dd5f67ac4543c6c1be66203.zip
hdf5-1c30759aae4106504dd5f67ac4543c6c1be66203.tar.gz
hdf5-1c30759aae4106504dd5f67ac4543c6c1be66203.tar.bz2
[svn-r26959] Fixed ERTERN print format and remove "Files" from virtual.
Diffstat (limited to 'tools/h5ls')
-rw-r--r--tools/h5ls/h5ls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c
index 74f17d5..aa23dd7 100644
--- a/tools/h5ls/h5ls.c
+++ b/tools/h5ls/h5ls.c
@@ -1819,17 +1819,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);
}
@@ -1853,7 +1853,7 @@ dataset_list2(hid_t dset, const char UNUSED *name)
size_t next;
ssize_t ssize_out;
- h5tools_str_append(&buffer, " %-10s {%ld} Source Files {\n", "Maps:", vmaps);
+ h5tools_str_append(&buffer, " %-10s {%ld} Source {\n", "Maps:", vmaps);
for (next = 0; next < (unsigned) vmaps; next++) {
ssize_out = H5Pget_virtual_filename(dcpl, next, NULL, 0);
H5Pget_virtual_filename(dcpl, next, f_name, sizeof(f_name));