[lxc-devel] [PATCH] lxc_cgroup_append_task_3of3()

Greg Kurz gkurz at fr.ibm.com
Thu Oct 6 14:13:03 UTC 2011


On Thu, 2011-10-06 at 15:00 +0200, "Axel Schöner" wrote:
> diff --git a/src/lxc/lxc_attach.c b/src/lxc/lxc_attach.c
> index ed3d5a4..65cb101 100644
> --- a/src/lxc/lxc_attach.c
> +++ b/src/lxc/lxc_attach.c
> @@ -85,7 +85,7 @@ int main(int argc, char *argv[], char *envp[])
> 
>         curdir = get_current_dir_name();
> 
> -       ret = lxc_attach(pid);
> +       ret = lxc_attach(pid, my_args.name);
>         if (ret < 0) {
>                 ERROR("failed to enter the namespace");
>                 return -1;

This patch should be merged into the previous one as it is needed for
lxc_attach.c to compile.

-- 
Gregory Kurz                                     gkurz at fr.ibm.com
Software Engineer @ IBM/Meiosys                  http://www.ibm.com
Tel +33 (0)534 638 479                           Fax +33 (0)561 400 420

"Anarchy is about taking complete responsibility for yourself."
        Alan Moore.





More information about the lxc-devel mailing list