diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -5033,7 +5033,7 @@ path = "not found"; name = obj->strtab + needed->name; - trace_print_obj(obj, name, path, main_local, + trace_print_obj(needed->obj, name, path, main_local, fmt1, fmt2); } }