X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Ftests%2Fgetctx.c;h=0a7b492021a0cb8f0ee84eda216b5ed61eafac7f;hb=2edfce6caccd0c8941464813245991add9ab0786;hp=15657c34df9c5595c5ef392623ba4b4528c36341;hpb=4c0037aecd96cf23da727c12381723ab5cbfa5e4;p=util-vserver.git diff --git a/util-vserver/tests/getctx.c b/util-vserver/tests/getctx.c index 15657c3..0a7b492 100644 --- a/util-vserver/tests/getctx.c +++ b/util-vserver/tests/getctx.c @@ -33,8 +33,8 @@ int main(int argc, char *argv[]) char buf[sizeof(int)*3+2]; xid_t ctx; - if (argc==1) ctx = vc_X_getctx(0); - else ctx = vc_X_getctx(atoi(argv[1])); + if (argc==1) ctx = vc_get_task_xid(0); + else ctx = vc_get_task_xid(atoi(argv[1])); utilvserver_fmt_int(buf, ctx);