diff options
| author | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-07-22 00:43:32 +0000 |
|---|---|---|
| committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-07-22 00:43:32 +0000 |
| commit | ed1a955edce3de7c6772a0863588d2b19362d48c (patch) | |
| tree | 3ec80ff4e2950f3ff0b617adef92a6986d072310 /libexec | |
| parent | 5d5ab055f66e9c469b62886fcc3aad49508cff6e (diff) | |
Notes
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/rtld-elf/rtld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index b97a4e683294..8d0938b59975 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -3181,7 +3181,7 @@ do_dlsym(void *handle, const char *name, void *retaddr, const Ver_Entry *ve, handle == RTLD_SELF) { /* ... caller included */ if (handle == RTLD_NEXT) obj = globallist_next(obj); - TAILQ_FOREACH_FROM(obj, &obj_list, next) { + for (; obj != NULL; obj = TAILQ_NEXT(obj, next)) { if (obj->marker) continue; res = symlook_obj(&req, obj); |
