summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2020-05-12 05:05:15 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2020-05-12 05:05:15 +0000
commit2e990f7233fb925477f9afc33b33f22ad0e6c454 (patch)
tree5ce855caafb0424c6274eb6450b53245e8959665
parent6a83ffb8344e4f7dec4705586ddb2ad33f536178 (diff)
parent9fb2af9114bbb3eab767a94ac0e00ec481d580b0 (diff)
Merge "Log inotify errors." into rvc-dev am: 8683e2eeba am: 9fb2af9114
Change-Id: Id5f9817a300f78dca6a700ea240e3f490dde23c1
-rw-r--r--cmds/bootanimation/BootAnimation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp
index a1278f358380..ecb95bd11c2f 100644
--- a/cmds/bootanimation/BootAnimation.cpp
+++ b/cmds/bootanimation/BootAnimation.cpp
@@ -1306,7 +1306,7 @@ status_t BootAnimation::TimeCheckThread::readyToRun() {
if (mSystemWd < 0) {
close(mInotifyFd);
mInotifyFd = -1;
- SLOGE("Could not add watch for %s", SYSTEM_DATA_DIR_PATH);
+ SLOGE("Could not add watch for %s: %s", SYSTEM_DATA_DIR_PATH, strerror(errno));
return NO_INIT;
}