cleanups in the vc_new_s_context() call
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 2 Feb 2004 19:30:51 +0000 (19:30 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 2 Feb 2004 19:30:51 +0000 (19:30 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@744 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/src/reducecap.c

index 265e6de..2852dcd 100644 (file)
@@ -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");