summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-06-17 16:31:02 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-06-17 16:31:02 +0000
commit1a75b0fd4896fb82f014940a65b0e97c6f7cd21c (patch)
treea9f54908566a5741368210269b4bf9a67e68eb77
parent5b7e5350a681c8331c3d5d71f2e4de3cb72fbc86 (diff)
parent7b1bc2c59dc6f3c69d1c8861e26edb0e498f6042 (diff)
Merge "Use PLOG() for failed system calls, so we see errno." into main
-rw-r--r--libs/adbd_auth/adbd_auth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/adbd_auth/adbd_auth.cpp b/libs/adbd_auth/adbd_auth.cpp
index ebc74fb3d8..78896ed553 100644
--- a/libs/adbd_auth/adbd_auth.cpp
+++ b/libs/adbd_auth/adbd_auth.cpp
@@ -365,7 +365,7 @@ public:
if (event.events & EPOLLIN) {
int rc = TEMP_FAILURE_RETRY(read(framework_fd_.get(), buf, sizeof(buf)));
if (rc == -1) {
- LOG(FATAL) << "adbd_auth: failed to read from framework fd";
+ PLOG(FATAL) << "adbd_auth: failed to read from framework fd";
} else if (rc == 0) {
LOG(INFO) << "adbd_auth: hit EOF on framework fd";
std::lock_guard<std::mutex> lock(mutex_);