X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fvcontext.c;h=21fae960bbbbef61740668ed406c7f9891c3ff07;hb=a7079774d8c30a1a2eafce390b1f1689fb2f1539;hp=6cb76efcd9d35548a696f885c9aee7c0e939907a;hpb=517fb954f46091a78f471435b7f284668138a2da;p=util-vserver.git diff --git a/src/vcontext.c b/src/vcontext.c index 6cb76ef..21fae96 100644 --- a/src/vcontext.c +++ b/src/vcontext.c @@ -259,10 +259,10 @@ doit(struct Arguments const *args, int argc, char *argv[]) switch (errno) { case EEXIST : if (!args->is_silentexist) - perror(ENSC_WRAPPERS_PREFIX "vc_create_context()"); + perror(ENSC_WRAPPERS_PREFIX "vc_ctx_create()"); return 254; default : - perror(ENSC_WRAPPERS_PREFIX "vc_create_context()"); + perror(ENSC_WRAPPERS_PREFIX "vc_ctx_create()"); return wrapper_exit_code; } } @@ -274,8 +274,8 @@ doit(struct Arguments const *args, int argc, char *argv[]) if (args->do_chroot) { Echroot("."); if (args->set_namespace) { - if (args->do_migrateself) Evc_set_namespace(); - else if (args->do_migrate) Evc_enter_namespace(xid); + if (args->do_migrateself) Evc_set_namespace(xid, 0); + else if (args->do_migrate) Evc_enter_namespace(xid, 0); } }