summaryrefslogtreecommitdiff
path: root/output.c
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2014-05-06 12:53:03 +0200
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:25 +0900
commit796fb77897be01fd85a7a21aa31b68d4f3909308 (patch)
tree26edf160f753b17f155909a0e99e028870b924da /output.c
parent70c93e2e194b81dcafbeecb537f6915253791690 (diff)
downloadltrace-796fb77897be01fd85a7a21aa31b68d4f3909308.tar.gz
ltrace-796fb77897be01fd85a7a21aa31b68d4f3909308.tar.bz2
ltrace-796fb77897be01fd85a7a21aa31b68d4f3909308.zip
Fix lookup of prototypes from non-leader threads
Diffstat (limited to 'output.c')
-rw-r--r--output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output.c b/output.c
index 0cec653..671a5d7 100644
--- a/output.c
+++ b/output.c
@@ -531,7 +531,7 @@ output_left(enum tof type, struct process *proc,
account_output(&current_column, fprintf(options.output, "("));
- struct prototype *func = lookup_symbol_prototype(proc, libsym);
+ struct prototype *func = lookup_symbol_prototype(proc->leader, libsym);
if (func == NULL) {
fail:
account_output(&current_column, fprintf(options.output, "???"));