From d871594be454b74548894f856bd3adce036cb60d Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Wed, 19 Nov 2014 22:39:21 +0000 Subject: [PATCH] gold-plugin: Fix typo in error message Spotted while reading code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222395 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/gold/gold-plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp index 9905d489b55..cfda6d2d464 100644 --- a/tools/gold/gold-plugin.cpp +++ b/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; -- 2.34.1