summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/process_util_posix.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/process_util_posix.cc b/base/process_util_posix.cc
index 425f455..45efe8b 100644
--- a/base/process_util_posix.cc
+++ b/base/process_util_posix.cc
@@ -274,8 +274,8 @@ bool LaunchApp(const std::vector<std::string>& argv,
argv_cstr[i] = const_cast<char*>(argv[i].c_str());
argv_cstr[argv.size()] = NULL;
execvp(argv_cstr[0], argv_cstr.get());
- LOG(ERROR) << "LaunchApp: exec failed!, argv_cstr[0] " << argv_cstr[0]
- << ", errno " << errno;
+ LOG(ERROR) << "LaunchApp: execvp(" << argv_cstr[0] << ") failed: "
+ << strerror(errno);
_exit(127);
} else {
// Parent process