mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
Fix up error message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9139 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b6c3a88dc4
commit
53e557d670
@ -125,9 +125,10 @@ int RunProgramWithTimeout(const std::string &ProgramPath, const char **Args,
|
||||
RedirectFD(StdErrFile, 2);
|
||||
|
||||
execv(ProgramPath.c_str(), (char *const *)Args);
|
||||
std::cerr << "Error executing program '" << ProgramPath;
|
||||
std::cerr << "Error executing program: '" << ProgramPath;
|
||||
for (; *Args; ++Args)
|
||||
std::cerr << " " << *Args;
|
||||
std::cerr << "'\n";
|
||||
exit(1);
|
||||
|
||||
default: break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user