Commit 55a140d4 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Pavel Emelyanov

Correct an error message after waitpid

Usually we print the PID we wait for, let's do the same here.
Probably just a typo.

Cc: Kirill Tkhai <ktkhai@virtuozzo.com>
Reviewed-by: 's avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 132d0458
......@@ -896,7 +896,7 @@ static int check_user_ns(int pid)
}
if (waitpid(chld, &status, 0) != chld) {
pr_perror("Unable to wait the %d process", pid);
pr_perror("Unable to wait for PID %d", chld);
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment