X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/03b9cd8063ce997bf46d80291c7e54ec8480ad01..8b1bc235e2747a7705c534c0fdcb0bc1bb8fb499:/src/surf/workstation.c diff --git a/src/surf/workstation.c b/src/surf/workstation.c index 245b68454e..7d7c93b293 100644 --- a/src/surf/workstation.c +++ b/src/surf/workstation.c @@ -326,12 +326,13 @@ static storage_t find_storage_on_mount_list(void *workstation,const char* storag return st; } -static surf_action_t ws_action_open(void *workstation, const char* mount, const char* path, const char* mode) +static surf_action_t ws_action_open(void *workstation, const char* mount, + const char* path) { storage_t st = find_storage_on_mount_list(workstation, mount); XBT_DEBUG("OPEN on disk '%s'",st->generic_resource.name); surf_model_t model = st->generic_resource.model; - return model->extension.storage.open(st, mount, path, mode); + return model->extension.storage.open(st, mount, path); } static surf_action_t ws_action_close(void *workstation, surf_file_t fd)