summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-12 01:03:52 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-12 01:03:52 +0000
commite72d26d6fd99ae84b7a58e6f82bf609422ab282e (patch)
tree40255c920ad0e664f2a02a90ae6294792dd5ee1b /base
parent5e2898db2ac96e7b2c690c00b189c0a8cbbe7394 (diff)
downloadchromium_src-e72d26d6fd99ae84b7a58e6f82bf609422ab282e.zip
chromium_src-e72d26d6fd99ae84b7a58e6f82bf609422ab282e.tar.gz
chromium_src-e72d26d6fd99ae84b7a58e6f82bf609422ab282e.tar.bz2
posix: trivial error message cleanup
Review URL: http://codereview.chromium.org/195073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26064 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/process_util_posix.cc2
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;