X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fgetvserverbyctx-compat.hc;h=3e7fde23e16e25770ab8e0247f95fe22139faaa8;hb=3564d8678a2134185e5e6e83083de027b359ca28;hp=79ceef6587c10dcd38820d11ca509ad7ff3c2008;hpb=9c78378bebc1a9f3d400f422df8ede9efea57dea;p=util-vserver.git diff --git a/lib/getvserverbyctx-compat.hc b/lib/getvserverbyctx-compat.hc index 79ceef6..3e7fde2 100644 --- a/lib/getvserverbyctx-compat.hc +++ b/lib/getvserverbyctx-compat.hc @@ -96,7 +96,7 @@ vc_getVserverByCtx_compat(xid_t ctx, vcCfgStyle *style, char const *revdir, // check if expected ctx == actual ctx (but only when this check is // request) if (validate_result && - vc_getVserverCtx(path, vcCFG_RECENT_FULL, false, 0)!=ctx) return 0; + vc_getVserverCtx(path, vcCFG_RECENT_FULL, false, 0, vcCTX_XID)!=ctx) return 0; if (style) *style = vcCFG_RECENT_FULL; return strdup(path);