made it more mature by using arrays for the vserver-list
[util-vserver.git] / util-vserver / src / reducecap.c
index 6fdd4b5..0f02813 100644 (file)
@@ -20,6 +20,7 @@
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
 #endif
+#include "compat.h"
 
 #include <stdio.h>
 #include <errno.h>
@@ -222,7 +223,7 @@ int main (int argc, char *argv[])
                        if (show){
                                reducecap_print (&user);
                        }
-                       if (call_new_s_context(0,NULL,remove,flags)==-1){
+                       if (vc_new_s_context(-2,remove,flags)==-1){
                                perror ("new_s_context -2");
                        }else{
                                fprintf (stderr,"Executing\n");