projects
/
platform
/
core
/
appfw
/
ui-gadget-1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48bd528
)
Print error message
26/217726/1
author
Hwankyu Jhun
<h.jhun@samsung.com>
Wed, 13 Nov 2019 23:56:09 +0000
(08:56 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Wed, 13 Nov 2019 23:56:09 +0000
(08:56 +0900)
If calling access() is failed, ug prints error message using dlog with
warning level.
Change-Id: I461d3f0f8c75d40520b5f4a3c0858649d973f02d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/module.c
patch
|
blob
|
history
diff --git
a/src/module.c
b/src/module.c
index b66e772c2cd3988a783b3dce7e7758bb26ff2c2e..10450c25b7cabf3c57cab032c85372058a5fde5a 100644
(file)
--- 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;
}