[CRIU] [PATCH 07/15] protobuf: use generic show function for fs

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


From: Stanislav Kinsbursky <skinsbursky at openvz.org>

Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>
---
 cr-show.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
-------------- next part --------------
diff --git a/cr-show.c b/cr-show.c
index 4b9a801..1a90bd9 100644
--- a/cr-show.c
+++ b/cr-show.c
@@ -222,13 +222,10 @@ void show_fs(int fd_fs, struct cr_options *o)
 	FsEntry *fe;
 
 	pr_img_head(CR_FD_FS);
-
 	if (pb_read_eof(fd_fs, &fe, fs_entry) > 0) {
-		pr_msg("CWD : %#x\n", fe->cwd_id);
-		pr_msg("ROOT: %#x\n", fe->root_id);
+		pb_show_msg(fe, &fs_entry__descriptor);
 		fs_entry__free_unpacked(fe, NULL);
 	}
-
 	pr_img_tail(CR_FD_FS);
 }
 


More information about the CRIU mailing list