X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Frpm-fake.c;h=eb1d7211c0bd5baa7adc8eee45f17c707babfeba;hb=a7079774d8c30a1a2eafce390b1f1689fb2f1539;hp=2c1310639fca46623a44620571a6fc0a1646ed94;hpb=9c78378bebc1a9f3d400f422df8ede9efea57dea;p=util-vserver.git diff --git a/src/rpm-fake.c b/src/rpm-fake.c index 2c13106..eb1d721 100644 --- a/src/rpm-fake.c +++ b/src/rpm-fake.c @@ -66,10 +66,6 @@ int rpm_execcon(unsigned int verified, #undef _POSIX_SOURCE #include "capability-compat.h" -#ifndef CLONE_NEWNS -# define CLONE_NEWNS 0x00020000 -#endif - #define LIBNAME "rpm-fake.so" #define PLATFORM_FILE "/etc/rpm/platform" @@ -251,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); }