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; |