projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fixed VLAN setup: set the name-type, honor the 'ip' value and use the
[util-vserver.git]
/
util-vserver
/
lib
/
syscall_gettaskxid-v13.hc
diff --git
a/util-vserver/lib/syscall_gettaskxid-v13.hc
b/util-vserver/lib/syscall_gettaskxid-v13.hc
index
2741d71
..
18c0215
100644
(file)
--- a/
util-vserver/lib/syscall_gettaskxid-v13.hc
+++ b/
util-vserver/lib/syscall_gettaskxid-v13.hc
@@
-23,7
+23,6
@@
static inline ALWAYSINLINE xid_t
vc_get_task_xid_v13(pid_t pid)
{
- xid_t res;
- if (vserver(VC_CMD(VINFO, 1,0), pid, &res)==-1) return -1;
+ xid_t res=vserver(VCMD_task_xid, pid, 0);
return CTX_KERNEL2USER(res);
}