From: Tushar Gohad Date: Tue, 6 Jul 2010 21:45:52 +0000 (+0200) Subject: Minor resource name array fix in src/lxc/namespace.c X-Git-Tag: lxc-0.7.2~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebb9ec72ce494cbee4bb445604d6527fbaefde5b;p=thirdparty%2Flxc.git Minor resource name array fix in src/lxc/namespace.c Signed-off-by: Tushar Gohad Signed-off-by: Daniel Lezcano --- diff --git a/src/lxc/namespace.c b/src/lxc/namespace.c index a68e15e44..3905a0333 100644 --- a/src/lxc/namespace.c +++ b/src/lxc/namespace.c @@ -97,7 +97,7 @@ pid_t lxc_clone(int (*fn)(void *), void *arg, int flags) int lxc_attach(pid_t pid) { char path[MAXPATHLEN]; - char *ns[] = { "pid", "mnt", "net", "pid", "uts" }; + char *ns[] = { "pid", "mnt", "net", "ipc", "uts" }; const int size = sizeof(ns) / sizeof(char *); int fd[size]; int i;