From 11d8a813edfffee29354e69548e1ce41c950691b Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 11 Jun 2012 14:28:10 +0200 Subject: libubacktrace: arm: Fix typo in assert Signed-off-by: Bernhard Reutner-Fischer --- libubacktrace/arm/backtrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libubacktrace/arm') 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) -- cgit v1.2.3