summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-04 17:31:22 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-04 17:31:22 +0000
commite8a54055429bf9c9a818e46aef0140ebb0f79447 (patch)
tree727482814045cd54f90a1a0c719cb1499f98f856
parentdffe7a72fb3eb1f3012b25c5fa57f2ac182f051b (diff)
Fix a stupid bug causing 'ldd' output to not contain the full
path to the target library
-rw-r--r--ldso/ldso/ldso.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
index 5ad27957c..e9f773f4a 100644
--- a/ldso/ldso/ldso.c
+++ b/ldso/ldso/ldso.c
@@ -1067,8 +1067,7 @@ static void _dl_get_ready_to_run(struct elf_resolve *tpnt, struct elf_resolve *a
#endif
#ifdef __LDSO_LDD_SUPPORT__
if (_dl_trace_loaded_objects && tpnt1->usage_count==1) {
- name = _dl_get_last_path_component(tpnt1->libname);
- _dl_dprintf(1, "\t%s => %s (%x)\n", lpntstr, --name,
+ _dl_dprintf(1, "\t%s => %s (%x)\n", lpntstr, tpnt1->libname,
(unsigned) tpnt1->loadaddr);
}
#endif