summaryrefslogtreecommitdiffstats
path: root/src/H5FDfamily.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FDfamily.c')
-rw-r--r--src/H5FDfamily.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDfamily.c b/src/H5FDfamily.c
index 4f0536c..fab72f6 100644
--- a/src/H5FDfamily.c
+++ b/src/H5FDfamily.c
@@ -125,7 +125,7 @@ static const H5FD_class_t H5FD_family_g = {
hid_t
H5FD_family_init(void)
{
- if (!H5FD_FAMILY_g) {
+ if (H5I_VFL!=H5Iget_type(H5FD_FAMILY_g)) {
H5FD_FAMILY_g = H5FDregister(&H5FD_family_g);
}
return H5FD_FAMILY_g;