[CRIU] [PATCH 14/15] protobuf: use generic show function for sk
queue
Kinsbursky Stanislav
skinsbursky at openvz.org
Wed Jul 18 05:06:14 EDT 2012
From: Stanislav Kinsbursky <skinsbursky at openvz.org>
Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>
---
sk-queue.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
-------------- next part --------------
diff --git a/sk-queue.c b/sk-queue.c
index f009017..8324b4b 100644
--- a/sk-queue.c
+++ b/sk-queue.c
@@ -180,8 +180,7 @@ void show_sk_queues(int fd, struct cr_options *o)
ret = pb_read_eof(fd, &pe, sk_packet_entry);
if (ret <= 0)
break;
- pr_msg("pkt for %u length %u bytes\n",
- pe->id_for, (unsigned int)pe->length);
+ pb_show_msg(pe, &sk_packet_entry__descriptor);
data = xmalloc(pe->length);
if (!data)
More information about the CRIU
mailing list