[CRIU] [PATCH 3/4] sockets: Print ino's with %x format in collect_unix_sockets

Cyrill Gorcunov gorcunov at openvz.org
Mon Apr 16 12:36:33 EDT 2012


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 97df7a8..27a9732 100644
--- a/sockets.c
+++ b/sockets.c
@@ -1461,7 +1461,7 @@ int collect_unix_sockets(void)
 
 		ui->peer = NULL;
 		ui->flags = 0;
-		pr_info(" `- Got %u peer %u\n", ui->ue.id, ui->ue.peer);
+		pr_info(" `- Got 0x%x peer 0x%x\n", ui->ue.id, ui->ue.peer);
 		file_desc_add(&ui->d, FDINFO_UNIXSK, ui->ue.id,
 				&unix_desc_ops);
 		list_add_tail(&ui->list, &unix_sockets);
-- 
1.7.7.6



More information about the CRIU mailing list