Signed-off-by: Stanislav Kinsburskiy <[email protected]>
---
criu/sk-queue.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/criu/sk-queue.c b/criu/sk-queue.c
index 8ab53f6..5e2601c 100644
--- a/criu/sk-queue.c
+++ b/criu/sk-queue.c
@@ -230,9 +230,9 @@ static int dump_sk_creds(struct ucred *ucred, SkPacketEntry
*pe, int flags)
_errno = errno;
}
if (ret) {
- errno = _errno;
- pr_perror("ucred: Unable to dump ucred for a dead
process %d,"
- "ignoring packet", ucred->pid);
+ pr_warn("ucred: Unable to dump ucred for a dead process
%d, "
+ "ignoring packet: %s\n", ucred->pid,
+ strerror(_errno));
pe->ucred = NULL;
xfree(ent);
return 2;
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel