[flang-commits] [flang] e3611f8 - [flang] Fix typo in runtime message

Peter Steinfeld via flang-commits flang-commits at lists.llvm.org
Thu Jul 7 14:10:51 PDT 2022


Author: Peter Steinfeld
Date: 2022-07-07T14:10:25-07:00
New Revision: e3611f82fc717535a78330b5fe7b09b124678490

URL: https://github.com/llvm/llvm-project/commit/e3611f82fc717535a78330b5fe7b09b124678490
DIFF: https://github.com/llvm/llvm-project/commit/e3611f82fc717535a78330b5fe7b09b124678490.diff

LOG: [flang] Fix typo in runtime message

The title says it.

Differential Revision: https://reviews.llvm.org/D129329

Added: 
    

Modified: 
    flang/runtime/io-stmt.cpp

Removed: 
    


################################################################################
diff  --git a/flang/runtime/io-stmt.cpp b/flang/runtime/io-stmt.cpp
index ebddf2a53b11..96f5bb9eb8c3 100644
--- a/flang/runtime/io-stmt.cpp
+++ b/flang/runtime/io-stmt.cpp
@@ -1340,7 +1340,7 @@ bool InquireNoUnitState::Inquire(
   case HashInquiryKeyword("STREAM"):
   case HashInquiryKeyword("WRITE"):
   case HashInquiryKeyword("UNFORMATTED"):
-    ToFortranDefaultCharacter(result, length, "UNKNONN");
+    ToFortranDefaultCharacter(result, length, "UNKNOWN");
     return true;
   default:
     BadInquiryKeywordHashCrash(inquiry);


        


More information about the flang-commits mailing list