From 886a66f4e0b2d623f9587e1ef695cd185169364e Mon Sep 17 00:00:00 2001 From: Tomas Lindquist Olsen Date: Thu, 26 Feb 2009 15:51:19 +0100 Subject: [PATCH] Missing %s error param in main.cpp --- gen/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/main.cpp b/gen/main.cpp index a2797bd1..9d034947 100644 --- a/gen/main.cpp +++ b/gen/main.cpp @@ -359,7 +359,7 @@ int main(int argc, char** argv) 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(); } }