summaryrefslogtreecommitdiff
path: root/cmds/bootanimation
diff options
context:
space:
mode:
authorDan Sandler <dsandler@android.com>2020-05-11 17:09:22 -0400
committerDan Sandler <dsandler@android.com>2020-05-11 17:09:22 -0400
commit562d46d5927c77a385a918c6d8fed6bb36a62e51 (patch)
treec721f2e50c41f6e123d5e8e481b19ea576d0c2d8 /cmds/bootanimation
parent0e66dda128404c4e444e6f74d2395615ee0989ad (diff)
Log inotify errors.
Bug: 155954661 Test: boot Change-Id: Ic054ecf6acebba12485926b66d4fb96fa7712547
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;
}