summaryrefslogtreecommitdiff
path: root/cmds/bootanimation
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2020-05-12 04:47:25 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-05-12 04:47:25 +0000
commit9fb2af9114bbb3eab767a94ac0e00ec481d580b0 (patch)
treead69faf9fd56ca5467e2d87574306483575a4661 /cmds/bootanimation
parent8a237b581e236e453481f0620cc8ec1ca90a1621 (diff)
parent8683e2eeba30bcdaa9d2fcd85b494c35325f5be0 (diff)
Merge "Log inotify errors." into rvc-dev am: 8683e2eeba
Change-Id: Iac23802acb09856c45c0d6c37c227624151469e4
Diffstat (limited to 'cmds/bootanimation')
-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;
}