diff options
| -rw-r--r-- | llvm/tools/gold/gold-plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp index 9905d489b55..cfda6d2d464 100644 --- a/llvm/tools/gold/gold-plugin.cpp +++ b/llvm/tools/gold/gold-plugin.cpp @@ -723,7 +723,7 @@ static void codegen(Module &M) { std::error_code EC = sys::fs::createTemporaryFile("lto-llvm", "o", FD, Filename); if (EC) - message(LDPL_FATAL, "Could not create temorary file: %s", + message(LDPL_FATAL, "Could not create temporary file: %s", EC.message().c_str()); } else { Filename = options::obj_path; |

