1 parent 3f8dda8 commit 5867564Copy full SHA for 5867564
1 file changed
src/Utilities/Sim.f90
@@ -181,7 +181,7 @@ subroutine store_error_unit(iunit, terminate)
181
end if
182
!
183
! -- store error unit
184
- inquire (unit=iunit, name=fname)
+ call get_filename(iunit, fname)
185
write (errmsg, '(3a)') &
186
"Error occurred while reading file '", trim(adjustl(fname)), "'"
187
call sim_uniterrors%store(errmsg)
0 commit comments