summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5Eff.f90
diff options
context:
space:
mode:
Diffstat (limited to 'fortran/src/H5Eff.f90')
-rw-r--r--fortran/src/H5Eff.f905
1 files changed, 4 insertions, 1 deletions
diff --git a/fortran/src/H5Eff.f90 b/fortran/src/H5Eff.f90
index 0c7b513..a43c119 100644
--- a/fortran/src/H5Eff.f90
+++ b/fortran/src/H5Eff.f90
@@ -110,8 +110,11 @@
END FUNCTION h5eprint_c2
END INTERFACE
namelen = LEN(NAME)
- if (present(name)) hdferr = h5eprint_c1(name, namelen)
+ if (present(name)) then
+ hdferr = h5eprint_c1(name, namelen)
+ else
hdferr = h5eprint_c2()
+ endif
END SUBROUTINE h5eprint_f
!----------------------------------------------------------------------