X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Frpm-fake.c;h=1689e2d1175aed4a0c54babd1f664c9754db9495;hb=b6e9464ef52dfa0b7ae6c94ba1db94ece13df8b2;hp=380bf0722283ee5716445b03c68b34dbf43c0bc3;hpb=eea3d83e4d401f0a214721bf0438a484cbe5dd68;p=util-vserver.git diff --git a/src/rpm-fake.c b/src/rpm-fake.c index 380bf07..1689e2d 100644 --- a/src/rpm-fake.c +++ b/src/rpm-fake.c @@ -247,7 +247,7 @@ setupContext(xid_t xid, char const **xid_str) if ((xid==VC_DYNAMIC_XID || !vc_is_dynamic_xid(xid)) && (rc=vc_ctx_create(xid))==VC_NOCTX && errno!=EEXIST) { - perror(ENSC_WRAPPERS_PREFIX "vc_create_context()"); + perror(ENSC_WRAPPERS_PREFIX "vc_ctx_create()"); exit(255); } @@ -595,7 +595,7 @@ execvWorker(char const *path, char * const argv[], char * const envp[]) int res = -1; if (vc_isSupported(vcFEATURE_MIGRATE)) - res = vc_ctx_migrate(ctx); + res = vc_ctx_migrate(ctx, 0); else { #ifdef VC_ENABLE_API_COMPAT res = vc_new_s_context(ctx,caps,flags);