diff options
| author | armink <[email protected]> | 2019-04-12 10:18:57 +0800 |
|---|---|---|
| committer | armink <[email protected]> | 2019-04-12 10:18:57 +0800 |
| commit | fa4d4ab7cf774ccb701d01a6fd1371ce8d9474e9 (patch) | |
| tree | 89cb48115a065516808cc8b0d6402b9924e06c4c /components/libc | |
| parent | 35bb75b96bb793e12b267cf987a2bf47f34d6510 (diff) | |
Update all of debug log definition to DBG_TAG and DBG_LVL.
Diffstat (limited to 'components/libc')
| -rw-r--r-- | components/libc/libdl/dlelf.c | 4 | ||||
| -rw-r--r-- | components/libc/libdl/dlmodule.c | 4 |
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; |
