summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-03-13 03:16:13 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-03-13 03:16:13 +0000
commitc4ca16abfdba4e531affd21ea78ab25242231ea2 (patch)
treeb681a8ae10944e65fc15c63422a08becd43c33cb
parentb13e8c32a67c57b0b121a422f2e1c8d888300c33 (diff)
parent4dcae5651bcb21789929ba7f080e92e207fe5628 (diff)
downloadplatform_system_connectivity_wifilogd-android10-s3-release.tar.gz
platform_system_connectivity_wifilogd-android10-s3-release.tar.bz2
platform_system_connectivity_wifilogd-android10-s3-release.zip
Change-Id: I3ff589c3da5a9ed100c51e596788d9831c47cd09
-rw-r--r--main_loop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main_loop.cpp b/main_loop.cpp
index 8ad030a..b14d3d8 100644
--- a/main_loop.cpp
+++ b/main_loop.cpp
@@ -44,7 +44,7 @@ MainLoop::MainLoop(const std::string& socket_name, std::unique_ptr<Os> os,
Os::Errno err;
std::tie(sock_fd_, err) = os_->GetControlSocket(socket_name);
if (err) {
- LOG(FATAL) << "Failed to get control socket: " << std::strerror(errno);
+ PLOG(FATAL) << "Failed to get control socket";
}
}
@@ -80,7 +80,7 @@ void MainLoop::ProcessError(Os::Errno err) {
// Any other error is unexpected, and assumed to be non-recoverable.
// (If, e.g., our socket is in a bad state, then we won't be able to receive
// any new log messages.)
- LOG(FATAL) << "Unexpected error: " << std::strerror(err);
+ PLOG(FATAL) << "Unexpected error";
}
} // namespace wifilogd