commit | f13afd562dfbf9aa563177bfbbd1d9fc8e3cf2a3 | [log] [tgz] |
---|---|---|
author | Petr Machata <pmachata@redhat.com> | Sat Apr 14 02:30:31 2012 +0200 |
committer | Petr Machata <pmachata@redhat.com> | Thu Apr 19 01:38:04 2012 +0200 |
tree | f90394a9859ce6aaec7768e003dc22ff8d95dd4c | |
parent | 9ace5742e1d61c88db8adefdeb9e49d4c3a9ff5d [diff] [blame] |
Actually use the cloned pathname in ltelf_read_library
diff --git a/ltrace-elf.c b/ltrace-elf.c index b9dc042..5628093 100644 --- a/ltrace-elf.c +++ b/ltrace-elf.c
@@ -663,7 +663,7 @@ char *pathname = strdup(filename); if (pathname == NULL) goto fail; - library_set_pathname(lib, filename, 1); + library_set_pathname(lib, pathname, 1); } if (lte.soname != NULL) {