]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Minor resource name array fix in src/lxc/namespace.c
authorTushar Gohad <tgohad@mvista.com>
Tue, 6 Jul 2010 21:45:52 +0000 (23:45 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 6 Jul 2010 21:45:52 +0000 (23:45 +0200)
Signed-off-by: Tushar Gohad <tgohad@mvista.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/namespace.c

index a68e15e442d4020a3f9055544953b4fbc6722e9d..3905a033336ed73f757a57bbfb7d463e57c666c2 100644 (file)
@@ -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;