Skip to content

Commit 5867564

Browse files
committed
get_filename
1 parent 3f8dda8 commit 5867564

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Utilities/Sim.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ subroutine store_error_unit(iunit, terminate)
181181
end if
182182
!
183183
! -- store error unit
184-
inquire (unit=iunit, name=fname)
184+
call get_filename(iunit, fname)
185185
write (errmsg, '(3a)') &
186186
"Error occurred while reading file '", trim(adjustl(fname)), "'"
187187
call sim_uniterrors%store(errmsg)

0 commit comments

Comments
 (0)