summaryrefslogtreecommitdiffstats
path: root/src/H5FDcore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FDcore.c')
-rw-r--r--src/H5FDcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDcore.c b/src/H5FDcore.c
index 9920678..ab9b2a0 100644
--- a/src/H5FDcore.c
+++ b/src/H5FDcore.c
@@ -128,7 +128,7 @@ static const H5FD_class_t H5FD_core_g = {
hid_t
H5FD_core_init(void)
{
- if (!H5FD_CORE_g) {
+ if (H5I_VFL!=H5Iget_type(H5FD_CORE_g)) {
H5FD_CORE_g = H5FDregister(&H5FD_core_g);
}
return H5FD_CORE_g;