mirror of https://github.com/mkerrisk/man-pages
setns.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
10cee42ae6
commit
ab949f50af
|
@ -397,9 +397,9 @@ main(int argc, char *argv[])
|
|||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
/* Get file descriptor for namespace; the file descriptor is opened with
|
||||
O_CLOEXEC so as to ensure that it is not inherited by the program that
|
||||
is later executed. */
|
||||
/* Get file descriptor for namespace; the file descriptor is opened
|
||||
with O_CLOEXEC so as to ensure that it is not inherited by the
|
||||
program that is later executed. */
|
||||
|
||||
fd = open(argv[1], O_RDONLY | O_CLOEXEC);
|
||||
if (fd == \-1)
|
||||
|
|
Loading…
Reference in New Issue