summaryrefslogtreecommitdiffstats
path: root/tools/h5ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5ls.c')
-rw-r--r--tools/h5ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c
index b686f7d..cf8e905 100644
--- a/tools/h5ls.c
+++ b/tools/h5ls.c
@@ -1098,7 +1098,7 @@ list_attr (hid_t obj, const char *attr_name, void UNUSED *op_data)
info.line_pre = " %s \"";
info.line_suf = "\"";
}
- if ((p_type=h5dump_fixtype(type))>=0) {
+ if ((p_type=h5dump_fixtype(type,FALSE))>=0) {
need = nelmts * MAX(H5Tget_size(type), H5Tget_size(p_type));
buf = malloc(need);
assert(buf);
@@ -1246,7 +1246,7 @@ dataset_list2(hid_t dset, const char UNUSED *name)
#else
utilization = (used*100.0)/total;
#endif
- if (total) printf(", %1.2f%% utilization", utilization);
+ printf(", %1.2f%% utilization", utilization/*(used*100.0)/total*/);
}
putchar('\n');