summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fortran/src/H5_f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/src/H5_f.c b/fortran/src/H5_f.c
index b4cfbd1..d96865f 100644
--- a/fortran/src/H5_f.c
+++ b/fortran/src/H5_f.c
@@ -303,7 +303,7 @@ nh5init_flags_c( int_f *h5d_flags, int_f *h5f_flags,
h5g_flags[2] = H5G_DATASET;
h5g_flags[3] = H5G_TYPE;
h5g_flags[4] = H5G_LINK;
- h5g_flags[5] = H5G_LINK_ERROR;
+ h5g_flags[5] = H5L_TYPE_ERROR;
h5g_flags[6] = H5L_TYPE_HARD;
h5g_flags[7] = H5L_TYPE_SOFT;