未验证 提交 06763783 编写于 作者: C cheng_jinsong 提交者: Gitee

codex

Signed-off-by: Ncheng_jinsong <chengjinsong2@huawei.com>
上级 97bdebf2
...@@ -116,7 +116,7 @@ static void *ModuleInstall(MODULE_ITEM *module, int argc, const char *argv[]) ...@@ -116,7 +116,7 @@ static void *ModuleInstall(MODULE_ITEM *module, int argc, const char *argv[])
} }
} }
BEGET_LOGV("Module install path %s", path); BEGET_LOGV("Module install path %s", path);
const char *realPath = GetRealPath(path); char *realPath = GetRealPath(path);
BEGET_ERROR_CHECK(realPath != NULL, return NULL, "Failed to get real path"); BEGET_ERROR_CHECK(realPath != NULL, return NULL, "Failed to get real path");
currentInstallArgs = &(module->moduleMgr->installArgs); currentInstallArgs = &(module->moduleMgr->installArgs);
handle = dlopen(realPath, RTLD_LAZY | RTLD_GLOBAL); handle = dlopen(realPath, RTLD_LAZY | RTLD_GLOBAL);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册