X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fsyscall_tagmigrate-v23.hc;h=254ff7e7f4c7b5e8f8cb8eecdbdd29b8d5463f55;hb=b7785f953cf988346d0f36c5852af39db3d1b00c;hp=bb718c8e6f57277a7ba27be4125e875d7442f898;hpb=19ef6bad17e92a9cedb7db8eddee2bebf1aa7c4d;p=util-vserver.git diff --git a/lib/syscall_tagmigrate-v23.hc b/lib/syscall_tagmigrate-v23.hc index bb718c8..254ff7e 100644 --- a/lib/syscall_tagmigrate-v23.hc +++ b/lib/syscall_tagmigrate-v23.hc @@ -1,4 +1,4 @@ -// $Id$ --*- c++ -*-- +// $Id: syscall_tagmigrate-v23.hc 2674 2008-01-27 07:55:13Z dhozac $ --*- c++ -*-- // Copyright (C) 2007 Daniel Hokka Zakrisson // @@ -23,5 +23,6 @@ static inline ALWAYSINLINE int vc_tag_migrate_tag(tag_t tag) { - return vserver(VCMD_tag_migrate, TAG_USER2KERNEL(tag), NULL); + tag_t res = vserver(VCMD_tag_migrate, TAG_USER2KERNEL(tag), NULL); + return TAG_KERNEL2USER(res); }