mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-14 11:53:13 +01:00
Missing %s error param in main.cpp
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user