[CRIU] [PATCH] files: Fix id print format

Cyrill Gorcunov gorcunov at openvz.org
Wed Mar 20 08:34:07 EDT 2013


Otherwise

| (00.013475)      1: Collect fdinfo pid=626 fd=4 id=0x           17008

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

diff --git a/files.c b/files.c
index aa2d8d1..af8c089 100644
--- a/files.c
+++ b/files.c
@@ -360,7 +360,7 @@ static int collect_fd(int pid, FdinfoEntry *e, struct rst_info *rst_info)
 	struct fdinfo_list_entry *le, *new_le;
 	struct file_desc *fdesc;
 
-	pr_info("Collect fdinfo pid=%d fd=%d id=0x%16x\n",
+	pr_info("Collect fdinfo pid=%d fd=%d id=%#x\n",
 		pid, e->fd, e->id);
 
 	new_le = shmalloc(sizeof(*new_le));
-- 
1.8.1.4



More information about the CRIU mailing list