summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rtld-elf/debug.c')
-rw-r--r--libexec/rtld-elf/debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/rtld-elf/debug.c b/libexec/rtld-elf/debug.c
index 8f8311c..3c37b7f 100644
--- a/libexec/rtld-elf/debug.c
+++ b/libexec/rtld-elf/debug.c
@@ -62,7 +62,8 @@ dump_relocations (Obj_Entry *obj0)
{
Obj_Entry *obj;
- for (obj = obj0; obj != NULL; obj = obj->next) {
+ for (obj = globallist_curr(obj0); obj != NULL;
+ obj = globallist_next(obj)) {
dump_obj_relocations(obj);
}
}
OpenPOWER on IntegriCloud