OSDN Git Service

libubacktrace: arm: Fix typo in assert
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 11 Jun 2012 12:28:10 +0000 (14:28 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 11 Jun 2012 12:28:57 +0000 (14:28 +0200)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libubacktrace/arm/backtrace.c

index d4eca32..8c8e2a2 100644 (file)
@@ -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)