X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b108a4b307246fd04e52827319b4a522e414c51f..16d1cb7e0e92b43f7e8485f25167c254f6c7f1e5:/src/surf/storage.c diff --git a/src/surf/storage.c b/src/surf/storage.c index 7d3fed64fd..d399fdb0b6 100644 --- a/src/surf/storage.c +++ b/src/surf/storage.c @@ -95,7 +95,7 @@ static surf_action_t storage_action_open(void *storage, const char* mount, surf_file_t file = xbt_new0(s_surf_file_t,1); file->name = xbt_strdup(path); file->size = size; - file->storage = xbt_strdup(mount); + file->mount = xbt_strdup(mount); surf_action_t action = storage_action_execute(storage,0, OPEN); action->file = (void *)file; @@ -117,7 +117,7 @@ static surf_action_t storage_action_close(void *storage, surf_file_t fd) } free(fd->name); - free(fd->storage); + free(fd->mount); xbt_free(fd); surf_action_t action = storage_action_execute(storage,0, CLOSE); return action;