[CRIU] [PATCH 2/3] protobuf: use generic show function for UNIX sockets

Kinsbursky Stanislav skinsbursky at openvz.org
Thu Jul 26 05:51:19 EDT 2012


Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>

---
 sk-unix.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/sk-unix.c b/sk-unix.c
index 69a4be1..1963096 100644
--- a/sk-unix.c
+++ b/sk-unix.c
@@ -445,7 +445,7 @@ static struct unix_sk_info *find_unix_sk_by_ino(int ino)
 	return NULL;
 }
 
-void show_unixsk(int fd, struct cr_options *o)
+void show_unixsk_pretty(int fd, struct cr_options *o)
 {
 	UnixSkEntry *ue;
 	int ret = 0;
@@ -478,6 +478,11 @@ out:
 	pr_img_tail(CR_FD_UNIXSK);
 }
 
+void show_unixsk(int fd, struct cr_options *o)
+{
+	pb_show_plain(fd, unix_sk_entry);
+}
+
 struct unix_conn_job {
 	struct unix_sk_info	*sk;
 	struct unix_conn_job	*next;



More information about the CRIU mailing list