Skip to content

Commit

Permalink
compel/infect: include the relevant pid in "no-breakpoints restore" d…
Browse files Browse the repository at this point in the history
…ebug message

Signed-off-by: Michał Mirosław <emmir@google.com>
  • Loading branch information
osctobe committed Aug 25, 2023
1 parent df753e2 commit 4a36534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compel/src/lib/infect.c
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,7 @@ int compel_stop_pie(pid_t pid, void *addr, bool no_bp)
int ret;

if (no_bp) {
pr_debug("Force no-breakpoints restore\n");
pr_debug("Force no-breakpoints restore of %d\n", pid);
ret = 0;
} else
ret = ptrace_set_breakpoint(pid, addr);
Expand Down

0 comments on commit 4a36534

Please sign in to comment.