projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
added vcontext
[util-vserver.git]
/
util-vserver
/
tests
/
getctx.c
diff --git
a/util-vserver/tests/getctx.c
b/util-vserver/tests/getctx.c
index
15657c3
..
0a7b492
100644
(file)
--- 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);