Skip to content

Commit 1794b61

Browse files
authored
[flang][runtime] Fix spelling of INQUIRE result (#75372)
Embarrassingly, the runtime was returning UNKNONN rather than UNKNOWN for things like INQUIRE(..., FORMAT=).
1 parent 39c2f59 commit 1794b61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/runtime/io-stmt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1346,7 +1346,7 @@ bool InquireUnconnectedFileState::Inquire(
13461346
case HashInquiryKeyword("SEQUENTIAL"):
13471347
case HashInquiryKeyword("STREAM"):
13481348
case HashInquiryKeyword("UNFORMATTED"):
1349-
str = "UNKNONN";
1349+
str = "UNKNOWN";
13501350
break;
13511351
case HashInquiryKeyword("READ"):
13521352
str =

0 commit comments

Comments
 (0)