From: Duncan P. N. Exon Smith Date: Wed, 19 Nov 2014 22:39:21 +0000 (+0000) Subject: gold-plugin: Fix typo in error message X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d871594be454b74548894f856bd3adce036cb60d;p=oota-llvm.git 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 --- 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;