bugfix for VINI
authorSapan Bhatia <sapanb@cs.princeton.edu>
Fri, 10 Oct 2008 14:58:35 +0000 (14:58 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Fri, 10 Oct 2008 14:58:35 +0000 (14:58 +0000)
src/netns.c

index 3a6bba6..8f0c598 100644 (file)
@@ -29,7 +29,7 @@ get_space_flag(xid_t xid) {
     if (!ctx_space_file)
         return 0;
 
-    sprintf(ctx_space_file,VSERVERCONF SPACE_FILE "%s", slice_user->pw_name);
+    sprintf(ctx_space_file,VSERVERCONF "%s" SPACE_FILE, slice_user->pw_name);
 
     if (access(ctx_space_file, F_OK)==0)
         space_flag |= CLONE_NEWNET;