Browse Source

Fix a stupid bug causing 'ldd' output to not contain the full
path to the target library

Eric Andersen 20 years ago
parent
commit
e8a5405542
1 changed files with 1 additions and 2 deletions
  1. 1 2
      ldso/ldso/ldso.c

+ 1 - 2
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