Log inotify errors.

Bug: 155954661
Test: boot
Change-Id: Ic054ecf6acebba12485926b66d4fb96fa7712547
This commit is contained in:
Dan Sandler
2020-05-11 17:09:22 -04:00
parent 0e66dda128
commit 562d46d592

View File

@@ -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;
}