Fixed another bug
authorSapan Bhatia <sapanb@cs.princeton.edu>
Tue, 31 Mar 2009 16:30:40 +0000 (16:30 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Tue, 31 Mar 2009 16:30:40 +0000 (16:30 +0000)
fd_fusemount.c

index 73ed928..87af24a 100644 (file)
@@ -112,7 +112,7 @@ int main(int argc, char *argv[]) {
     check_target(target);
     check_fstype(filesystemtype);
 
-    sprintf(slice_target,"/vservers/%s/%s", target);
+    sprintf(slice_target,"/vservers/%s/%s", slice_name, target);
 
     if (!mount(source, slice_target, filesystemtype, mountflags, data)) {
         send_fd(control_channel_fd, mount_fd);