Skip to content

Commit

Permalink
Give up; read whole file (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Oct 8, 2024
1 parent 2189b4d commit 4623718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fortran/src/p0022.f90
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ integer(i18t) function p0022() result(answer)
read(unit, '(A)', IOSTAT=ios) contents
if (ios == -1) then
exit
elseif (ios /= 0)
elseif (ios /= 0) then
stop ERROR_FILE_READ_FAILED
end if
end do
Expand Down

0 comments on commit 4623718

Please sign in to comment.