X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=vserver-start%2Fmain.c;h=634a7349048b0df8bd6baddc7c02e5c408fa99ab;hb=820076e1d48f75a6cdcb65e2a97a19f42e2c2734;hp=3ff03e45e6125af00cff9f1dd176a4f7364d654c;hpb=9c78378bebc1a9f3d400f422df8ede9efea57dea;p=util-vserver.git diff --git a/vserver-start/main.c b/vserver-start/main.c index 3ff03e4..634a734 100644 --- a/vserver-start/main.c +++ b/vserver-start/main.c @@ -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);