[CRIU] [PATCH 04/15] protobuf: use generic show function for pipe data

Kinsbursky Stanislav skinsbursky at openvz.org
Wed Jul 18 05:05:08 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 822f836..8bbd2be 100644
--- a/cr-show.c
+++ b/cr-show.c
@@ -167,7 +167,7 @@ void __show_pipes_data(int fd, struct cr_options *o)
 	while (1) {
 		if (pb_read_eof(fd, &e, pipe_data_entry) <= 0)
 			break;
-		pr_msg("pipeid: 0x%8x bytes: 0x%8x\n", e->pipe_id, e->bytes);
+		pb_show_msg(e, &pipe_data_entry__descriptor);
 		lseek(fd, e->bytes, SEEK_CUR);
 		pipe_data_entry__free_unpacked(e, NULL);
 	}


More information about the CRIU mailing list