Skip to content

Commit

Permalink
mem: pass a pointer to btrace_println() (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 authored Nov 4, 2021
1 parent 5a8c2c4 commit edcb812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mem/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ static bool debug_handler(struct le *le, void *arg)

(void)re_fprintf(stderr, "\n");

re_fprintf(stderr, "%H\n", btrace_println, m->btraces);
re_fprintf(stderr, "%H\n", btrace_println, &m->btraces);

return false;
}
Expand Down

0 comments on commit edcb812

Please sign in to comment.