Skip to content

Commit bd815a5

Browse files
authored
[flang][runtime][CUDA] Fix build error (#94281)
I broke the build, and now I'm fixing it.
1 parent e31bfc0 commit bd815a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/runtime/pseudo-unit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ExternalFileUnit *ExternalFileUnit::LookUpOrCreateAnonymous(int unit,
3838
Direction direction, Fortran::common::optional<bool>,
3939
IoErrorHandler &handler) {
4040
if (direction != Direction::Output) {
41-
terminator.Crash("ExternalFileUnit only supports output IO");
41+
handler.Crash("ExternalFileUnit only supports output IO");
4242
}
4343
return New<ExternalFileUnit>{handler}(unit).release();
4444
}

0 commit comments

Comments
 (0)