Skip to content

Commit

Permalink
btrace: fix coverity warning (#1049)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh authored Jan 15, 2024
1 parent 4e71cfc commit e066d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/btrace/btrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ static int print_debug(struct re_printf *pf, struct btrace *bt,
re_regex(symbols[j], str_len(symbols[j]), "([^)]+",
&addr);

re_snprintf(addr2l, sizeof(addr2l),
(void)re_snprintf(addr2l, sizeof(addr2l),
"addr2line -p -f -e %s %r", exe, &addr);

pipe = popen(addr2l, "r");
Expand Down

0 comments on commit e066d85

Please sign in to comment.