[CRIU] [PATCH 4/7] sockets: Show uncollected socket ino in hex

Cyrill Gorcunov gorcunov at openvz.org
Fri Apr 20 18:56:37 EDT 2012


To be in same form as collected sockets.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 sockets.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sockets.c b/sockets.c
index c18f21a..3088324 100644
--- a/sockets.c
+++ b/sockets.c
@@ -392,7 +392,7 @@ int dump_socket(struct fd_parms *p, int lfd, const struct cr_fdset *cr_fdset)
 
 	sk = lookup_socket(p->stat.st_ino);
 	if (!sk) {
-		pr_err("Uncollected socket %ld\n", p->stat.st_ino);
+		pr_err("Uncollected socket 0x%8x\n", (int)p->stat.st_ino);
 		return -1;
 	}
 
-- 
1.7.7.6



More information about the CRIU mailing list