X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fgetvserverbyctx-compat.hc;h=bb4c5786e740608fe321b9a2bea0b9fdfb1c34c4;hb=99d33f6844e093ed5119203557a606ce60f83de5;hp=3e7fde23e16e25770ab8e0247f95fe22139faaa8;hpb=3564d8678a2134185e5e6e83083de027b359ca28;p=util-vserver.git diff --git a/lib/getvserverbyctx-compat.hc b/lib/getvserverbyctx-compat.hc index 3e7fde2..bb4c578 100644 --- a/lib/getvserverbyctx-compat.hc +++ b/lib/getvserverbyctx-compat.hc @@ -48,7 +48,7 @@ handleLegacy(xid_t xid) if (l<=4 || strcmp(name+l-4, ".ctx")!=0) continue; name[l-4] = '\0'; - cur_xid = vc_getVserverCtx(name, vcCFG_LEGACY, false, 0); + cur_xid = vc_getVserverCtx(name, vcCFG_LEGACY, false, 0, vcCTX_XID); if (cur_xid!=xid) continue; result = strdup(name);