[CRIU] [PATCH 03/20] mnt: Fix void argument for reading mnt images helper

Pavel Emelyanov xemul at parallels.com
Tue Apr 22 09:35:26 PDT 2014


Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
---
 mount.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mount.c b/mount.c
index 3502f6e..4dccff6 100644
--- a/mount.c
+++ b/mount.c
@@ -1530,7 +1530,7 @@ err:
 	return -1;
 }
 
-static struct mount_info *read_mnt_ns_img()
+static struct mount_info *read_mnt_ns_img(void)
 {
 	struct mount_info *pms = NULL;
 	struct ns_id *nsid;
@@ -1727,7 +1727,7 @@ int prepare_mnt_ns(int ns_pid)
 
 	close_proc();
 
-	mis = read_mnt_ns_img(ns_pid);
+	mis = read_mnt_ns_img();
 	if (!mis)
 		goto out;
 
-- 
1.7.6.5


More information about the CRIU mailing list