diff options
author | jdp <jdp@FreeBSD.org> | 2000-11-07 22:41:53 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 2000-11-07 22:41:53 +0000 |
commit | d9a6f6cc6053ce6af2017e34d5f181d79265bb22 (patch) | |
tree | 9f0312c95ef5473db8f842927961ba8f985fe3e4 /libexec | |
parent | d0b11154fff7c0964e37b356261a0d55c2835238 (diff) | |
download | FreeBSD-src-d9a6f6cc6053ce6af2017e34d5f181d79265bb22.zip FreeBSD-src-d9a6f6cc6053ce6af2017e34d5f181d79265bb22.tar.gz |
Remove the superfluous call to _rtld_error() in symlook_default().
The function's callers generate the error message when appropriate.
This eliminates the message ``Undefined symbol "__register_frame_info"''
which was bogusly returned by dlerror() in some cases.
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rtld-elf/rtld.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index 9cbfe42..0b595df 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -1831,8 +1831,6 @@ symlook_default(const char *name, unsigned long hash, if (def != NULL) *defobj_out = defobj; - else - _rtld_error("%s: Undefined symbol \"%s\"", refobj->path, name); return def; } |