X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2b6d1169a07742f4f6870bc791bad1067f4efed7..b4ab767c827a58dc5efaa5ee22ab6050d4b6172c:/src/surf/storage.c diff --git a/src/surf/storage.c b/src/surf/storage.c index e00a72151d..e5d8d02a79 100644 --- a/src/surf/storage.c +++ b/src/surf/storage.c @@ -205,7 +205,7 @@ static void* storage_create_resource(const char* id, const char* model, "Storage '%s' declared several times in the platform file", id); storage = (storage_t) surf_resource_new(sizeof(s_storage_t), - surf_storage_model, id, properties); + surf_storage_model, id, properties, NULL); storage->generic_resource.name = xbt_strdup(id); storage->state_current = SURF_RESOURCE_ON;