summaryrefslogtreecommitdiffstats
path: root/fortran/test/fflush1.f90
diff options
context:
space:
mode:
Diffstat (limited to 'fortran/test/fflush1.f90')
-rw-r--r--fortran/test/fflush1.f905
1 files changed, 2 insertions, 3 deletions
diff --git a/fortran/test/fflush1.f90 b/fortran/test/fflush1.f90
index 52efb21..bace5f9 100644
--- a/fortran/test/fflush1.f90
+++ b/fortran/test/fflush1.f90
@@ -143,9 +143,8 @@
CALL H5fflush_f(file_id, H5F_SCOPE_GLOBAL_F, error)
CALL check("h5fflush_f",error,total_error)
- ! if errors detected, exit with non-zero code. This is not truly fortran
- ! standard but likely supported by most fortran compilers.
- IF (total_error .ne. 0) CALL h5_exit_f (total_error)
+ ! if errors detected, exit with non-zero code.
+ IF (total_error .ne. 0) CALL h5_exit_f (1)
001 STOP