Skip to content

Commit

Permalink
btrace: fix coverity warning
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed Jan 14, 2024
1 parent ba844d9 commit 6693de9
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 6693de9

Please sign in to comment.