projects
/
platform
/
core
/
api
/
system-settings.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
572c14d
)
apply alternative for no util-lib
45/235845/1
author
Youngjae Shin
<yj99.shin@samsung.com>
Wed, 10 Jun 2020 08:00:01 +0000
(17:00 +0900)
committer
Youngjae Shin
<yj99.shin@samsung.com>
Wed, 10 Jun 2020 08:00:01 +0000
(17:00 +0900)
Change-Id: I2010d30b84025b7cea4e912cc945a2b88a1f7665
src/sst_utils_wrapper.c
patch
|
blob
|
history
diff --git
a/src/sst_utils_wrapper.c
b/src/sst_utils_wrapper.c
index
c0149d2
..
e6f5aea
100644
(file)
--- a/
src/sst_utils_wrapper.c
+++ b/
src/sst_utils_wrapper.c
@@
-17,6
+17,7
@@
#include <dlfcn.h>
#include "sst.h"
+#include "sst_misc.h"
static void *sst_utils_handle;
static const char* const sst_utils_library = SETTING_UTILS_SO_FILE_PATH;
@@
-109,7
+110,7
@@
bool sstu_is_valid_image(char *path)
void *handle = _utils_load_lib();
if (NULL == handle) {
ERR("No Utils Library Handle");
- return
false
;
+ return
sst_misc_exist(path)
;
}
fn_impl = dlsym(handle, "sstu_is_valid_image");