[CRIU] [PATCH 4/4] show: ipc cleanup

Kinsbursky Stanislav skinsbursky at openvz.org
Fri Feb 3 08:48:51 EST 2012


From: Stanislav Kinsbursky <skinsbursky at parallels.com>



Signed-off-by: Stanislav Kinsbursky <skinsbursky at parallels.com>

---
 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