aboutsummaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2013-01-08 23:21:10 +0100
committerPetr Machata <pmachata@redhat.com>2013-03-08 22:55:33 +0100
commit5c5d48092beb90c903461db6a90db2ed73198306 (patch)
tree9e7394ee6e6084a5b9ebe2620aa5ba981f0171b7 /proc.c
parentc4763a0aba5a9c4e12f024991bf3f73e6860e33e (diff)
downloadltrace-5c5d48092beb90c903461db6a90db2ed73198306.tar.gz
Fix error message in proc_add_library, when latent symbol activation fails
- In fact, libsym->name would cause a SIGSEGV.
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index b1c0a94..6deb8da 100644
--- a/proc.c
+++ b/proc.c
@@ -885,7 +885,7 @@ proc_add_library(struct process *proc, struct library *lib)
lib->exported_names)) != NULL)
fprintf(stderr,
"Couldn't activate latent symbols for %s in %d: %s.\n",
- libsym->name, proc->pid, strerror(errno));
+ lib2->soname, proc->pid, strerror(errno));
}
int