mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-05 02:07:16 +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…
Reference in New Issue
Block a user