Skip to contentSkip to conversation

namespace.h: Fix typo: s/CLONE_NEWSNS/CLONE_NEWNS/

PATCH Applied Josh Triplett 2 participants 2 messages Mar 8, 2013 – Mar 13, 2013 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 include/namespace.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/namespace.h +1 -1
index 3a219ce..9d58f13 100644
@@ -4,7 +4,7 @@
 
 # include <sched.h>
 
-# ifndef CLONE_NEWSNS
+# ifndef CLONE_NEWNS
 #  define CLONE_NEWNS 0x00020000
 # endif
 # ifndef CLONE_NEWUTS
Signature · 1 line
1.7.10.4
maintainer Applied
#1 lore raw
Quoted 2 lines · Josh Triplett
 include/namespace.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com