Missing %s error param in main.cpp

This commit is contained in:
Tomas Lindquist Olsen
2009-02-26 15:51:19 +01:00
parent 001f83a296
commit 886a66f4e0

View File

@@ -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();
}
}