Mercurial > projects > ldc
diff gen/main.cpp @ 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 | 420ef073448d |
children | 2b6c2e961f25 |
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(); } }