[CRIU] [PATCH 11/20] mnt: Mark create_mnt_roots as void arg

Pavel Emelyanov xemul at parallels.com
Tue Apr 22 09:37:45 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 7361697..8d7fad9 100644
--- a/mount.c
+++ b/mount.c
@@ -1395,7 +1395,7 @@ static void free_mntinfo(struct mount_info *pms)
  */
 static char *mnt_roots;
 
-static int create_mnt_roots()
+static int create_mnt_roots(void)
 {
 	if (mnt_roots)
 		return 0;
@@ -1543,7 +1543,7 @@ static struct mount_info *read_mnt_ns_img(void)
 			continue;
 
 		if (nsid->id != root_item->ids->mnt_ns_id)
-			if (create_mnt_roots(true))
+			if (create_mnt_roots())
 				return NULL;
 
 		if (collect_mnt_from_image(&pms, nsid))
-- 
1.7.6.5


More information about the CRIU mailing list