summaryrefslogtreecommitdiff
path: root/libubacktrace/arm
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-11 14:28:10 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-11 14:28:57 +0200
commit11d8a813edfffee29354e69548e1ce41c950691b (patch)
tree79ff657f0474414e34aa644c3d5428969b34136f /libubacktrace/arm
parented25cd80edac2461438be21564cf64ccdbad43ef (diff)
libubacktrace: arm: Fix typo in assert
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libubacktrace/arm')
-rw-r--r--libubacktrace/arm/backtrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libubacktrace/arm/backtrace.c b/libubacktrace/arm/backtrace.c
index d4eca3224..8c8e2a2e2 100644
--- a/libubacktrace/arm/backtrace.c
+++ b/libubacktrace/arm/backtrace.c
@@ -62,7 +62,7 @@ backtrace_helper (struct _Unwind_Context *ctx, void *a)
{
struct trace_arg *arg = a;
- assert (unwind_getip != NULL);
+ assert (unwind_getip(ctx) != NULL);
/* We are first called with address in the __backtrace function. Skip it. */
if (arg->cnt != -1)