[CRIU] [crtools-bot] show: ipc cleanup

Cyrill Gorcunov gorcunov at openvz.org
Fri Feb 3 12:27:15 EST 2012


The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
--------------->
commit 5059cc7b0aa1524679e20fb45f3b56433bb02224
Author: Stanislav Kinsbursky <skinsbursky at parallels.com>
Date:   Fri Feb 3 16:48:51 2012 +0300

    show: ipc cleanup
    
    Signed-off-by: Stanislav Kinsbursky <skinsbursky at parallels.com>
    Acked-by: Pavel Emelyanov <xemul at parallels.com>
    Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 ipc_ns.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ipc_ns.c b/ipc_ns.c
index e7cc8a8..3336d8c 100644
--- a/ipc_ns.c
+++ b/ipc_ns.c
@@ -166,12 +166,12 @@ static void show_ipc_entry(struct ipc_ns_entry *entry)
 static void show_ipc_data(int fd)
 {
 	int ret;
-	struct ipc_ns_data ipc;
+	struct ipc_ns_entry entry;
 
-	ret = read_img_eof(fd, &ipc);
+	ret = read_img_eof(fd, &entry);
 	if (ret <= 0)
 		return;
-	show_ipc_entry(&ipc.entry);
+	show_ipc_entry(&entry);
 }
 
 void show_ipc_ns(int fd)


More information about the CRIU mailing list