summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/module.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/module.c b/src/module.c
index b66e772..10450c2 100644
--- a/src/module.c
+++ b/src/module.c
@@ -110,7 +110,8 @@ static int __file_exist(const char *path)
int ret;
ret = access(path, R_OK);
- LOGD("ug_file(%s) check %s", path, ret ? "fail" : "ok");
+ if (ret != 0)
+ LOGW("Failed to access %s. errno(%d)", path, errno);
return ret;
}