diff options
-rw-r--r-- | base/process_util_posix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/process_util_posix.cc b/base/process_util_posix.cc index 45efe8b..a26b4d3 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; |