From: Enrico Scholz Date: Mon, 2 Feb 2004 19:30:51 +0000 (+0000) Subject: cleanups in the vc_new_s_context() call X-Git-Tag: VERSION_0_10~801 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63b4a32eb892a37ba1d6acf540d7ef6248302824;p=util-vserver.git cleanups in the vc_new_s_context() call git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@744 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/src/reducecap.c b/util-vserver/src/reducecap.c index 265e6de..2852dcd 100644 --- a/util-vserver/src/reducecap.c +++ b/util-vserver/src/reducecap.c @@ -199,7 +199,7 @@ int main (int argc, char *argv[]) if (show){ reducecap_print (&user); } - if (vc_new_s_context(-2,remove,flags)==-1){ + if (vc_new_s_context(VC_SAMECTX,remove,flags)==VC_NOCTX){ perror ("new_s_context -2"); }else{ fprintf (stderr,"Executing\n");