Fix error in r247960: actually assign the basename to match.iim_file.

Pointed out by:	avg
Pointy hat to:	dim
MFC after:	1 week
X-MFC-With:	r247960
This commit is contained in:
Dimitry Andric 2013-03-07 22:43:50 +00:00
parent 10f29053d2
commit e86b103cc6
1 changed files with 1 additions and 2 deletions

View File

@ -379,8 +379,7 @@ sort_iidescs(Elf *elf, const char *file, tdata_t *td, int fuzzymatch,
switch (GELF_ST_TYPE(sym.st_info)) {
case STT_FILE:
bname = strrchr(match.iim_name, '/');
bname = bname == NULL ? match.iim_name : bname + 1;
match.iim_file = match.iim_name;
match.iim_file = bname == NULL ? match.iim_name : bname + 1;
continue;
case STT_OBJECT:
tolist = iiburst->iib_objts;