projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
flush
[m6w6/ext-psi]
/
src
/
validator.c
diff --git
a/src/validator.c
b/src/validator.c
index 6bfd4e423b45ba93baf0fdf39e7d4b00bace595d..44ea4ab11c2108385636c3707431dd6fa7e6aaef 100644
(file)
--- a/
src/validator.c
+++ b/
src/validator.c
@@
-117,7
+117,7
@@
static inline int validate_decl_func(PSI_Validator *V, decl *decl, decl_arg *fun
return 0;
}
- decl->dlptr = dlsym(V->dlopened, func->var->name);
+ decl->dlptr = dlsym(V->dlopened
?: RTLD_NEXT
, func->var->name);
if (!decl->dlptr) {
V->error(PSI_WARNING, "Failed to located symbol '%s': %s",
func->var->name, dlerror());