提交 83751c63 编写于 作者: qiuyiuestc's avatar qiuyiuestc

add error handler in dlopen.c

上级 06c6630b
......@@ -35,7 +35,12 @@ void* dlopen(const char *filename, int flags)
rt_snprintf(fullpath, strlen(def_path) + strlen(filename) + 2,
"%s/%s", def_path, filename);
}
else
{
rt_kprintf("use absolute path\n");
return RT_NULL;
}
/* find in module list */
module = rt_module_find(fullpath);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册