diff options
author | Jan Korous <jkorous@apple.com> | 2019-08-14 18:30:18 +0000 |
---|---|---|
committer | Jan Korous <jkorous@apple.com> | 2019-08-14 18:30:18 +0000 |
commit | 14230f99262df66a5dbd4dc5de5d55807c5c6d05 (patch) | |
tree | 924eee6577fd1355628bd7ed3925fab3de191a54 /llvm/lib/Support/Unix | |
parent | 6cca3ad43e6df866ec38708f2e20331a59d275b6 (diff) | |
download | bcm5719-llvm-14230f99262df66a5dbd4dc5de5d55807c5c6d05.tar.gz bcm5719-llvm-14230f99262df66a5dbd4dc5de5d55807c5c6d05.zip |
[Support][NFC] Fix error message for posix_spawn_file_actions_addopen failed call
Seems like a copy-paste from couple lines above.
llvm-svn: 368899
Diffstat (limited to 'llvm/lib/Support/Unix')
-rw-r--r-- | llvm/lib/Support/Unix/Program.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Unix/Program.inc b/llvm/lib/Support/Unix/Program.inc index 9f641c4f771..520685a0e98 100644 --- a/llvm/lib/Support/Unix/Program.inc +++ b/llvm/lib/Support/Unix/Program.inc @@ -136,7 +136,7 @@ static bool RedirectIO_PS(const std::string *Path, int FD, std::string *ErrMsg, if (int Err = posix_spawn_file_actions_addopen( FileActions, FD, File, FD == 0 ? O_RDONLY : O_WRONLY | O_CREAT, 0666)) - return MakeErrMsg(ErrMsg, "Cannot dup2", Err); + return MakeErrMsg(ErrMsg, "Cannot posix_spawn_file_actions_addopen", Err); return false; } #endif |