summaryrefslogtreecommitdiff
path: root/components/libc
diff options
context:
space:
mode:
Diffstat (limited to 'components/libc')
-rw-r--r--components/libc/libdl/dlelf.c4
-rw-r--r--components/libc/libdl/dlmodule.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/components/libc/libdl/dlelf.c b/components/libc/libdl/dlelf.c
index 4557ee3458..1265ffcb07 100644
--- a/components/libc/libdl/dlelf.c
+++ b/components/libc/libdl/dlelf.c
@@ -11,8 +11,8 @@
#include "dlmodule.h"
#include "dlelf.h"
-#define DBG_SECTION_NAME "DLMD"
-#define DBG_LEVEL DBG_INFO
+#define DBG_TAG "DLMD"
+#define DBG_LVL DBG_INFO
#include <rtdbg.h> // must after of DEBUG_ENABLE or some other options
rt_err_t dlmodule_load_shared_object(struct rt_dlmodule* module, void *module_ptr)
diff --git a/components/libc/libdl/dlmodule.c b/components/libc/libdl/dlmodule.c
index 14cbfe4cfb..dbebfc8961 100644
--- a/components/libc/libdl/dlmodule.c
+++ b/components/libc/libdl/dlmodule.c
@@ -16,8 +16,8 @@
#include <dfs_posix.h>
-#define DBG_SECTION_NAME "DLMD"
-#define DBG_LEVEL DBG_INFO
+#define DBG_TAG "DLMD"
+#define DBG_LVL DBG_INFO
#include <rtdbg.h> // must after of DEBUG_ENABLE or some other options
static struct rt_module_symtab *_rt_module_symtab_begin = RT_NULL;