Typos...
authorSapan Bhatia <sapanb@cs.princeton.edu>
Tue, 14 Oct 2008 17:11:05 +0000 (17:11 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Tue, 14 Oct 2008 17:11:05 +0000 (17:11 +0000)
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);
       }