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 3892c2d..6b63130 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;
   }