X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Ftests%2Fgetctx.c;h=0a7b492021a0cb8f0ee84eda216b5ed61eafac7f;hb=44e7d56b12c9068077af46c5931f1d01941f1e4e;hp=4033a835ea76074aa344486362398b07f6b0b682;hpb=40730f8dcef5467014a2cb830aa03bd800d6056c;p=util-vserver.git diff --git a/util-vserver/tests/getctx.c b/util-vserver/tests/getctx.c index 4033a83..0a7b492 100644 --- a/util-vserver/tests/getctx.c +++ b/util-vserver/tests/getctx.c @@ -31,10 +31,10 @@ int main(int argc, char *argv[]) { char buf[sizeof(int)*3+2]; - ctx_t ctx; + 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);