X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib_internal%2Fswitchtowatchxid.c;h=e237fc44541efe6efdb2300a4a60b848f4405b4d;hb=a741f6faf2baae1e823d334012f6a09e6a1bda51;hp=b49305bce4788402976b02ef66303910b299ae3f;hpb=2822ba293eb308225c50d346930c47bf98d9927b;p=util-vserver.git diff --git a/lib_internal/switchtowatchxid.c b/lib_internal/switchtowatchxid.c index b49305b..e237fc4 100644 --- a/lib_internal/switchtowatchxid.c +++ b/lib_internal/switchtowatchxid.c @@ -1,4 +1,4 @@ -// $Id: switchtowatchxid.c,v 1.4 2005/03/25 02:37:41 ensc Exp $ --*- c -*-- +// $Id: switchtowatchxid.c 2501 2007-02-20 17:33:35Z dhozac $ --*- c -*-- // Copyright (C) 2004 Enrico Scholz // @@ -35,7 +35,7 @@ switchToWatchXid(char const **errptr) if (vc_get_task_xid(0)==1) return true; if (vc_isSupported(vcFEATURE_MIGRATE)) { - if (vc_ctx_migrate(1)==-1) { + if (vc_ctx_migrate(1, 0)==-1) { if (errptr) *errptr = "vc_migrate_context()"; return false; }