From f6ab47038cf8fea9611625ce97b267f7ce2957d6 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. llvm-svn: 222395 --- llvm/tools/gold/gold-plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp index 9905d48..cfda6d2 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; -- 2.7.4