changeset 997:4f12ec3216cf

Missing %s error param in main.cpp
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Thu, 26 Feb 2009 15:51:19 +0100
parents 6e7dc3caccdd
children ff22650d0ca3
files gen/main.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gen/main.cpp	Thu Feb 26 15:23:52 2009 +0100
+++ b/gen/main.cpp	Thu Feb 26 15:51:19 2009 +0100
@@ -359,7 +359,7 @@
         mArch = llvm::TargetMachineRegistry::getClosestStaticTargetForModule(mod, Err);
         if (mArch == 0)
         {
-            error("failed to auto-select target '%s', please use the -march option");
+            error("failed to auto-select target: %s, please use the -march option", Err.c_str());
             fatal();
         }
     }