]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/storage_n11.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix leaks and invalid read
[simgrid.git] / src / surf / storage_n11.cpp
index e384fb8a4b886711b5fa37c33e80a9229dee2858..cfe41f84aef7bd7b260e43fa2b03f0b9a7a6b6f5 100644 (file)
@@ -406,7 +406,7 @@ StorageActionPtr StorageN11::ls(const char* path)
   return action;
 }
 
-StorageActionPtr StorageN11::open(const char* mount, char* path)
+StorageActionPtr StorageN11::open(const char* mount, const char* path)
 {
   XBT_DEBUG("\tOpen file '%s'",path);