X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fvcontext.c;h=346148224e13763329881ca19e668ef2055abe70;hb=95e2774070e989fe9cf9f48dae5fa054e55e2a3e;hp=78dc1b65cbf5fa5f09d9293b0c4051b2d09d5456;hpb=3b34449070c0846fdc49436d1edd5916512f1644;p=util-vserver.git diff --git a/src/vcontext.c b/src/vcontext.c index 78dc1b6..3461482 100644 --- a/src/vcontext.c +++ b/src/vcontext.c @@ -1,4 +1,4 @@ -// $Id: vcontext.c 2415 2006-12-08 13:24:49Z dhozac $ --*- c -*-- +// $Id: vcontext.c 2578 2007-08-08 20:05:26Z dhozac $ --*- c -*-- // Copyright (C) 2004-2006 Enrico Scholz // @@ -254,15 +254,15 @@ doit(struct Arguments const *args, int argc, char *argv[]) doSyncStage0(p, args->do_disconnect); if (args->do_create) { - xid = vc_ctx_create(args->xid); + xid = vc_ctx_create(args->xid, NULL); if (xid==VC_NOCTX) { 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; } } @@ -282,7 +282,7 @@ doit(struct Arguments const *args, int argc, char *argv[]) setFlags(args, xid); if (args->do_migrate && !args->do_migrateself) - Evc_ctx_migrate(xid); + Evc_ctx_migrate(xid, 0); if (args->uid != NULL) { uid_t uid = 0;