X-Git-Url: http://git.onelab.eu/?p=util-vserver.git;a=blobdiff_plain;f=vserver-start%2Fmain.c;fp=vserver-start%2Fmain.c;h=c6ec40a49dd6b6da8088277fd16fbdc314540919;hp=ab268b385cc4cb437d1fe33a3abb95e2dcbc1407;hb=4415d2a7377be61789eb5a6e35222962cbe7a146;hpb=b0a62d195efca12c5cb9e7c0b3bea3be2cd57fc9 diff --git a/vserver-start/main.c b/vserver-start/main.c index ab268b3..c6ec40a 100644 --- a/vserver-start/main.c +++ b/vserver-start/main.c @@ -1,4 +1,4 @@ -// $Id: main.c 1939 2005-03-19 02:07:40Z ensc $ --*- c -*-- +// $Id: main.c 2589 2007-08-16 03:06:50Z dhozac $ --*- c -*-- // Copyright (C) 2004 Enrico Scholz // @@ -115,7 +115,7 @@ checkConstraints() struct vc_vx_info info; xid = vc_getVserverCtx(opts.VSERVER_DIR, vcCFG_RECENT_FULL, - true, &is_running); + true, &is_running, vcCTX_XID); if (xid!=VC_NOCTX && vc_get_vx_info(xid, &info)!=-1) { WRITE_MSG(2, "vserver.start: vserver '"); @@ -166,7 +166,7 @@ int main(int UNUSED argc, char UNUSED *argv[]) execScriptlets(&cfgdir, opts.VSERVER_NAME, "prepre-start"); activateInterfaces(&cfg.interfaces); - xid = Evc_ctx_create(cfg.xid); + xid = Evc_ctx_create(cfg.xid, NULL); setCFlag(xid, VC_VXF_INFO_NAMESPACE); mountVserver(&cfg);