summaryrefslogtreecommitdiffstats
path: root/src/H5FDsec2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FDsec2.c')
-rw-r--r--src/H5FDsec2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDsec2.c b/src/H5FDsec2.c
index e1ed9c3..1098dc3 100644
--- a/src/H5FDsec2.c
+++ b/src/H5FDsec2.c
@@ -178,7 +178,7 @@ static const H5FD_class_t H5FD_sec2_g = {
hid_t
H5FD_sec2_init(void)
{
- if (!H5FD_SEC2_g) {
+ if (H5I_VFL!=H5Iget_type(H5FD_SEC2_g)) {
H5FD_SEC2_g = H5FDregister(&H5FD_sec2_g);
}
return H5FD_SEC2_g;