Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2995)

Unified Diff: base/process_util_posix.cc

Issue 195073: posix: trivial error message cleanup (Closed)
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process_util_posix.cc
diff --git a/base/process_util_posix.cc b/base/process_util_posix.cc
index 45efe8bdcbd0ec29a057b716c0c6692ff9911948..a26b4d3b73ac2cc700eec01f0043c29b577666d8 100644
--- a/base/process_util_posix.cc
+++ b/base/process_util_posix.cc
@@ -329,7 +329,7 @@ bool DidProcessCrash(bool* child_exited, ProcessHandle handle) {
int status;
const int result = HANDLE_EINTR(waitpid(handle, &status, WNOHANG));
if (result == -1) {
- LOG(ERROR) << "waitpid failed pid:" << handle << " errno:" << errno;
+ LOG(ERROR) << "waitpid(" << handle << "): " << strerror(errno);
if (child_exited)
*child_exited = false;
return false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698