提交 4981767b 编写于 作者: zzuli_lyw's avatar zzuli_lyw

Fix test cases' bugs in xts suite (2/2) (dependent pr...

Fix test cases' bugs in xts suite (2/2) (dependent pr https://gitee.com/openharmony/xts_acts/pulls/8683)
fix code format
Issue: https://gitee.com/openharmony/third_party_musl/issues/I6Z32OSigned-off-by: zzuli_lyw's avatarzzulilyw <378305181@qq.com>
上级 239b3d6b
......@@ -27,7 +27,7 @@ typedef void (* ATEXIT_CB)();
#define TEST_DSO "/data/tests/libc-test/src/libatexit_dlclose_dso.so"
#define ATEXIT_CB_NAME "atexit_cb"
#define ATEXIT_WATCHPOINT_NAME "g_watchpoint"
static const char* g_libatexitDlcloseDsoAbsolutePath = "/data/tests/libc-test/src/libatexit_dlclose_dso.so";
#define LIBATEXIT_DLCLOSE_DSO_ABSOLUTE_PATH "/data/tests/libc-test/src/libatexit_dlclose_dso.so"
int fork_main(char *exe)
{
......@@ -44,7 +44,7 @@ int fork_main(char *exe)
return 1;
}
handler = dlopen(libatexit_dlclose_dso_absolute_path, RTLD_LAZY|RTLD_LOCAL);
handler = dlopen(LIBATEXIT_DLCLOSE_DSO_ABSOLUTE_PATH, RTLD_LAZY|RTLD_LOCAL);
if(!handler) {
t_error("dlopen %s failed: %s\n", buf, dlerror());
return 2;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册