[CRIU] [PATCH 2/3] mount: Fix typo in message

Cyrill Gorcunov gorcunov at gmail.com
Fri Dec 7 15:43:30 MSK 2018


Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 criu/mount.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/mount.c b/criu/mount.c
index 5a97c1f1b7de..b8a564d2ce92 100644
--- a/criu/mount.c
+++ b/criu/mount.c
@@ -2684,7 +2684,7 @@ static int cr_pivot_root(char *root)
 	}
 
 	if (mount("none", put_root, "none", MS_REC|MS_SLAVE, NULL)) {
-		pr_perror("Can't remount root with MS_PRIVATE");
+		pr_perror("Can't remount root with MS_REC|MS_SLAVE");
 		return -1;
 	}
 
-- 
2.17.2



More information about the CRIU mailing list