[CRIU] [PATCH 6/8] mount: fix some typos

Tycho Andersen tycho.andersen at canonical.com
Tue Jun 21 15:41:43 PDT 2016


Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
---
 criu/mount.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/criu/mount.c b/criu/mount.c
index e891c92..863ee20 100644
--- a/criu/mount.c
+++ b/criu/mount.c
@@ -1039,7 +1039,7 @@ static char *get_clean_mnt(struct mount_info *mi, char *mnt_path_tmp, char *mnt_
 		mnt_path = mkdtemp(mnt_path_root);
 	if (mnt_path == NULL) {
 		pr_perror("Can't create a temporary directory");
-		return NULL;;
+		return NULL;
 	}
 
 	if (mount(mi->mountpoint, mnt_path, NULL, MS_BIND, NULL)) {
@@ -1488,7 +1488,7 @@ static int binfmt_misc_restore(struct mount_info *mi)
 {
 	struct cr_img *img;
 	char *buf;
-	int ret = -1;;
+	int ret = -1;
 
 	buf = xmalloc(BINFMT_MISC_STR);
 	if (!buf)
-- 
2.7.4



More information about the CRIU mailing list