[CRIU] [PATCH 11/15] protobuf: use generic show function for eventfd

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


From: Stanislav Kinsbursky <skinsbursky at openvz.org>

Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>
---
 eventfd.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
-------------- next part --------------
diff --git a/eventfd.c b/eventfd.c
index 09d0af7..525acd0 100644
--- a/eventfd.c
+++ b/eventfd.c
@@ -53,10 +53,7 @@ void show_eventfds(int fd, struct cr_options *o)
 		ret = pb_read_eof(fd, &efe, eventfd_file_entry);
 		if (ret <= 0)
 			goto out;
-		pr_msg("id: %#08x flags %#04x counter: %#016lx ",
-		       efe->id, efe->flags, efe->counter);
-		pb_show_fown_cont(efe->fown);
-		pr_msg("\n");
+		pb_show_msg(efe, &eventfd_file_entry__descriptor);
 		eventfd_file_entry__free_unpacked(efe, NULL);
 	}
 


More information about the CRIU mailing list