compel/infect: include the relevant pid in "no-breakpoints restore" debug message

Signed-off-by: Michał Mirosław <emmir@google.com>
This commit is contained in:
Michał Mirosław 2023-08-22 17:30:44 +02:00 committed by Andrei Vagin
parent b56a9cef32
commit f7d7dc9c08

View file

@ -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);