projects
/
platform
/
core
/
api
/
system-info.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69319b9
)
Suppress ENOENT as database might not exist
85/262485/3
accepted/tizen/6.5/unified/20211028.101144
accepted/tizen/unified/20210818.124631
submit/tizen/20210816.072111
submit/tizen_6.5/20211028.161801
tizen_6.5.m2_release
author
Youngjae Cho
<y0.cho@samsung.com>
Thu, 12 Aug 2021 02:06:58 +0000
(19:06 -0700)
committer
Youngjae Cho
<y0.cho@samsung.com>
Fri, 13 Aug 2021 01:29:18 +0000
(10:29 +0900)
Change-Id: Idd24ccbc799bf42723801c2bd760990f18c6350c
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/system_info.c
patch
|
blob
|
history
diff --git
a/src/system_info.c
b/src/system_info.c
index
2c74b4a
..
fdcb043
100644
(file)
--- a/
src/system_info.c
+++ b/
src/system_info.c
@@
-119,7
+119,8
@@
static int db_search_value(const char *db_path, char *key_internal, char *value,
fp = fopen(buf, "r");
if (!fp) {
- _E("fopen for %s failed (%d)", buf, errno); //LCOV_EXCL_LINE
+ if (errno != ENOENT)
+ _E("fopen for %s failed, %m", buf); //LCOV_EXCL_LINE
return SYSTEM_INFO_ERROR_IO_ERROR;
}