summaryrefslogtreecommitdiffstats
path: root/src/H5G.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5G.c')
-rw-r--r--src/H5G.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5G.c b/src/H5G.c
index f6cbb9b..d515bbb 100644
--- a/src/H5G.c
+++ b/src/H5G.c
@@ -331,6 +331,7 @@ H5G_mkroot (hdf5_file_t *f, size_t size_hint)
}
H5O_reset (H5O_NAME, &name);
}
+ f->root_type=H5F_ROOT_DIRECTORY; /* set the root symbol type be a directory */
FUNC_LEAVE (SUCCEED);
}