aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/tools
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2013-03-07 22:43:50 +0000
committerDimitry Andric <dim@FreeBSD.org>2013-03-07 22:43:50 +0000
commite86b103cc63ddaa489f68a2bab37f6c0d13c1f83 (patch)
tree893dd1f4bbfca0b386f89eb849ffd7e5a61592e4 /cddl/contrib/opensolaris/tools
parent10f29053d2b8ab419cc0a7d4989bbc041f524d60 (diff)
downloadsrc-e86b103cc63ddaa489f68a2bab37f6c0d13c1f83.tar.gz
src-e86b103cc63ddaa489f68a2bab37f6c0d13c1f83.zip
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
Notes
Notes: svn path=/head/; revision=247962
Diffstat (limited to 'cddl/contrib/opensolaris/tools')
-rw-r--r--cddl/contrib/opensolaris/tools/ctf/cvt/output.c3
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 a78789d6f92e..af797690a259 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;