summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Triplett2013-03-08 20:43:17 +0100
committerKarel Zak2013-03-13 14:47:25 +0100
commitb00456d2f0ebb0042b4a942a2fdab4c1b4494cfb (patch)
treebd3a0a06d64ec6c2c423a616e92fc2912170dca7
parentinclude/timer: return setitimer return value (diff)
downloadkernel-qcow2-util-linux-b00456d2f0ebb0042b4a942a2fdab4c1b4494cfb.tar.gz
kernel-qcow2-util-linux-b00456d2f0ebb0042b4a942a2fdab4c1b4494cfb.tar.xz
kernel-qcow2-util-linux-b00456d2f0ebb0042b4a942a2fdab4c1b4494cfb.zip
namespace.h: Fix typo: s/CLONE_NEWSNS/CLONE_NEWNS/
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>
-rw-r--r--include/namespace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/namespace.h b/include/namespace.h
index 3a219ceba..9d58f13a5 100644
--- a/include/namespace.h
+++ b/include/namespace.h
@@ -4,7 +4,7 @@
# include <sched.h>
-# ifndef CLONE_NEWSNS
+# ifndef CLONE_NEWNS
# define CLONE_NEWNS 0x00020000
# endif
# ifndef CLONE_NEWUTS