Browse Source

libubacktrace: arm: Fix typo in assert

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 12 years ago
parent
commit
11d8a813ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libubacktrace/arm/backtrace.c

+ 1 - 1
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)