[CRIU] [PATCH 03/15] protobuf: use generic show function for ghost file

Kinsbursky Stanislav skinsbursky at openvz.org
Wed Jul 18 05:05:02 EDT 2012


From: Stanislav Kinsbursky <skinsbursky at openvz.org>

Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>
---
 cr-show.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
diff --git a/cr-show.c b/cr-show.c
index b1a6d0c..822f836 100644
--- a/cr-show.c
+++ b/cr-show.c
@@ -154,7 +154,7 @@ void show_ghost_file(int fd, struct cr_options *o)
 
 	pr_img_head(CR_FD_GHOST_FILE);
 	if (pb_read_eof(fd, &gfe, ghost_file_entry) > 0) {
-		pr_msg("uid %u god %u mode %#x\n", gfe->uid, gfe->gid, gfe->mode);
+		pb_show_msg(gfe, &ghost_file_entry__descriptor);
 		ghost_file_entry__free_unpacked(gfe, NULL);
 	}
 	pr_img_tail(CR_FD_GHOST_FILE);


More information about the CRIU mailing list