Skip to content

Commit d833014

Browse files
committed
don't spam with 'unable to read /proc/pid/exe'
Signed-off-by: Pavel Boldin <[email protected]>
1 parent 2fb1238 commit d833014

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/kpatch_user.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2054,7 +2054,8 @@ processes_do(int pid, callback_t callback, void *data)
20542054
if (errno == ENOENT)
20552055
kpdebug("skipping kernel thread %d\n", pid);
20562056
else
2057-
kplogerror("can't get exec for %d\n", pid);
2057+
kpdebug("can't get exec for %d: %s\n", pid,
2058+
strerror(errno));
20582059
continue;
20592060
}
20602061

0 commit comments

Comments
 (0)