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:
176ee43
)
bugfix: fix type mismatch for custom key
79/223079/3
author
Wiktor Gerstenstein
<w.gerstenste@partner.samsung.com>
Wed, 22 Jan 2020 14:35:22 +0000
(15:35 +0100)
committer
Karol Lewandowski
<k.lewandowsk@samsung.com>
Mon, 3 Feb 2020 15:47:27 +0000
(15:47 +0000)
Change-Id: Iacef58acb8b2e9dae93a7f2bd63813c82a1ce993
src/system_info.c
patch
|
blob
|
history
diff --git
a/src/system_info.c
b/src/system_info.c
index
00bcdae
..
4cbf9f3
100644
(file)
--- a/
src/system_info.c
+++ b/
src/system_info.c
@@
-414,7
+414,7
@@
static int system_info_get_string(enum tag_type tag, const char *key, char **val
}
if (tag == TAG_TYPE_CUSTOM) {
- ret = external_get_value(TAG_TYPE_CUSTOM_STR, key,
DBL
_TYPE, &valp);
+ ret = external_get_value(TAG_TYPE_CUSTOM_STR, key,
STR
_TYPE, &valp);
if (ret == SYSTEM_INFO_ERROR_NONE) {
snprintf(val, sizeof(val), "%s", valp); //LCOV_EXCL_LINE
free(valp); //LCOV_EXCL_LINE