summaryrefslogtreecommitdiffstats
path: root/tools/h5ls/h5ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5ls/h5ls.c')
-rw-r--r--tools/h5ls/h5ls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c
index a6a7e95..d279ea3 100644
--- a/tools/h5ls/h5ls.c
+++ b/tools/h5ls/h5ls.c
@@ -2264,10 +2264,10 @@ main (int argc, const char *argv[])
/* list root attributes */
if (verbose_g>0)
{
- if ((root=H5Gopen(file, "/"))<0)
- leave(1);
+ if ((root=H5Gopen(file, "/"))<0)
+ leave(1);
H5Aiterate(root, NULL, list_attr, NULL);
- if (H5Gclose(root)<0)
+ if (H5Gclose(root)<0)
leave(1);
}
/* list */