summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/misc/h5stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/misc/h5stat.c b/tools/misc/h5stat.c
index 20e76be..e8f1647 100644
--- a/tools/misc/h5stat.c
+++ b/tools/misc/h5stat.c
@@ -447,7 +447,7 @@ printf("walk: fullname = %s\n", fullname);
assert(dcpl > 0);
lout = H5Pget_layout(dcpl);
- assert(lout > 0);
+ assert(lout >= 0);
/* Track the layout type for dataset */
(iter->dset_layouts[lout])++;