Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix issue with file unlinking
[simgrid.git] / src / plugins / file_system / s4u_FileSystem.cpp
index 3892c2dc808d8659f90973f4444643fd74138325..6b6313011c7e13ebd1d409aac9829b4f4ca48f58 100644 (file)
@@ -336,7 +336,7 @@ int File::unlink()
       local_disk_->extension<FileSystemDiskExt>()->decr_used_size(size_);
 
     // Remove the file from storage
-    content->erase(fullpath_);
+    content->erase(path_);
 
     return 0;
   }