From 562d46d5927c77a385a918c6d8fed6bb36a62e51 Mon Sep 17 00:00:00 2001 From: Dan Sandler Date: Mon, 11 May 2020 17:09:22 -0400 Subject: Log inotify errors. Bug: 155954661 Test: boot Change-Id: Ic054ecf6acebba12485926b66d4fb96fa7712547 --- cmds/bootanimation/BootAnimation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmds/bootanimation/BootAnimation.cpp') 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; } -- cgit v1.2.3-59-g8ed1b