This is an automated email from the ASF dual-hosted git repository.
pengzheng pushed a commit to branch feature/error_injector
in repository https://gitbox.apache.org/repos/asf/celix.git
The following commit(s) were added to refs/heads/feature/error_injector by this
push:
new d202f300 Fix compilation error introduced by previous commit.
d202f300 is described below
commit d202f30070c728c159752137cd00cc800a5f9937
Author: PengZheng <[email protected]>
AuthorDate: Thu Jan 19 23:11:07 2023 +0800
Fix compilation error introduced by previous commit.
---
misc/error_injector/error_injector.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/misc/error_injector/error_injector.h
b/misc/error_injector/error_injector.h
index b4126fc6..6529ed20 100644
--- a/misc/error_injector/error_injector.h
+++ b/misc/error_injector/error_injector.h
@@ -30,7 +30,7 @@ extern "C" {
#define CELIX_EI_GET_CALLER(addr, level) \
do { \
Dl_info dlinfo; \
- assert(dladdr(__builtin_return_address((level), &dlinfo)); \
+ dladdr(__builtin_return_address(level), &dlinfo); \
(addr) = dlinfo.dli_saddr; \
} while(0)