]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
namespace.h: Fix typo: s/CLONE_NEWSNS/CLONE_NEWNS/
authorJosh Triplett <josh@joshtriplett.org>
Fri, 8 Mar 2013 19:43:17 +0000 (11:43 -0800)
committerKarel Zak <kzak@redhat.com>
Wed, 13 Mar 2013 13:47:25 +0000 (14:47 +0100)
This typo causes namespace.h to always unconditionally define
CLONE_NEWNS rather than using the system definition.

Bug present since the initial version of unshare in commit
4205f1fda1ac32046125a2e0f3937b666186bfab.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Anton Cherkashyn <mail@antonc.com>
include/namespace.h

index 3a219ceba0c038d69d886fa22db8b3c4a9b1cd4f..9d58f13a5117cadd64122479a1d17a5ea340f90c 100644 (file)
@@ -4,7 +4,7 @@
 
 # include <sched.h>
 
-# ifndef CLONE_NEWSNS
+# ifndef CLONE_NEWNS
 #  define CLONE_NEWNS 0x00020000
 # endif
 # ifndef CLONE_NEWUTS