summaryrefslogtreecommitdiffstats
path: root/tools/misc/h5debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/misc/h5debug.c')
-rw-r--r--tools/misc/h5debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/misc/h5debug.c b/tools/misc/h5debug.c
index 480450d..282f386 100644
--- a/tools/misc/h5debug.c
+++ b/tools/misc/h5debug.c
@@ -259,7 +259,7 @@ main(int argc, char *argv[])
HDfprintf(stderr, "cannot open file\n");
HDexit(1);
} /* end if */
- if(NULL == (f = (H5F_t *)H5I_object(fid))) {
+ if(NULL == (f = (H5F_t *)H5VL_object(fid))) {
HDfprintf(stderr, "cannot obtain H5F_t pointer\n");
HDexit(2);
} /* end if */