commit | 562d46d5927c77a385a918c6d8fed6bb36a62e51 | [log] [tgz] |
---|---|---|
author | Dan Sandler <dsandler@android.com> | Mon May 11 17:09:22 2020 -0400 |
committer | Dan Sandler <dsandler@android.com> | Mon May 11 17:09:22 2020 -0400 |
tree | c721f2e50c41f6e123d5e8e481b19ea576d0c2d8 | |
parent | 0e66dda128404c4e444e6f74d2395615ee0989ad [diff] [blame] |
Log inotify errors. Bug: 155954661 Test: boot Change-Id: Ic054ecf6acebba12485926b66d4fb96fa7712547
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index a1278f3..ecb95bd 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp
@@ -1306,7 +1306,7 @@ 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; }