Snap for 5370966 from 4dcae5651bcb21789929ba7f080e92e207fe5628 to qt-release
Change-Id: I3ff589c3da5a9ed100c51e596788d9831c47cd09
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 @@
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 @@
// 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