Typos...
[util-vserver-pl.git] / src / planetlab.c
index 447c858..92042fb 100644 (file)
@@ -99,7 +99,7 @@ process:
 
     if (unshare_flags != 0) {
       unshare(unshare_flags);
-      unshare_flags |= vc_space_mask();
+      unshare_flags |= vc_get_space_mask();
       vc_set_namespace(ctx, unshare_flags);
   }
 
@@ -196,7 +196,7 @@ pl_chcontext(xid_t ctx, uint64_t bcaps, const struct sliver_resources *slr)
       /* Unshare the net namespace if the slice if requested in the local slice configuration */
       unshare_flags = get_space_flag(ctx);
       if (unshare_flags != 0) {
-          unshare|=vc_space_flags();
+          unshare_flags |=vc_get_space_mask();
           vc_enter_namespace(ctx, unshare_flags);
       }