diff options
Diffstat (limited to 'man2/pivot_root.2')
-rw-r--r-- | man2/pivot_root.2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man2/pivot_root.2 b/man2/pivot_root.2 index 925294740..0df3b91dd 100644 --- a/man2/pivot_root.2 +++ b/man2/pivot_root.2 @@ -349,7 +349,7 @@ child(void *arg) return an error), and prevent propagation of mount events to the initial mount namespace */ - if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, NULL) == 1) + if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, NULL) == \-1) errExit("mount\-MS_PRIVATE"); /* Ensure that \(aqnew_root\(aq is a mount point */ @@ -418,7 +418,7 @@ main(int argc, char *argv[]) .BR pivot_root (8), .BR switch_root (8) .SH COLOPHON -This page is part of release 5.09 of the Linux +This page is part of release 5.10 of the Linux .I man-pages project. A description of the project, |