diff options
author | dim <dim@FreeBSD.org> | 2013-03-07 22:43:50 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-03-07 22:43:50 +0000 |
commit | 24bac1724cfbf3e9e714d56fda8abf71764a10c4 (patch) | |
tree | 893dd1f4bbfca0b386f89eb849ffd7e5a61592e4 /cddl/contrib/opensolaris/tools | |
parent | 5d48955751b54574455db884c19968c34698216b (diff) | |
download | FreeBSD-src-24bac1724cfbf3e9e714d56fda8abf71764a10c4.zip FreeBSD-src-24bac1724cfbf3e9e714d56fda8abf71764a10c4.tar.gz |
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
Diffstat (limited to 'cddl/contrib/opensolaris/tools')
-rw-r--r-- | cddl/contrib/opensolaris/tools/ctf/cvt/output.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cddl/contrib/opensolaris/tools/ctf/cvt/output.c b/cddl/contrib/opensolaris/tools/ctf/cvt/output.c index a78789d..af79769 100644 --- a/cddl/contrib/opensolaris/tools/ctf/cvt/output.c +++ b/cddl/contrib/opensolaris/tools/ctf/cvt/output.c @@ -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; |