[2/3] mount: Fix typo in message

Submitted by Cyrill Gorcunov on Dec. 7, 2018, 12:43 p.m.

Details

Message ID 20181207124331.30751-3-gorcunov@gmail.com
State New
Series "mount: Fix the case where tmp directory in already mounted"
Headers show

Commit Message

Cyrill Gorcunov Dec. 7, 2018, 12:43 p.m.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
 criu/mount.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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