From: suter Date: Tue, 25 Jun 2013 10:32:17 +0000 (+0200) Subject: remove an ugly pimple thanks to units in XML X-Git-Tag: v3_9_90~233 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/dc78c79b2176f41a0622949cd31a8b66f6ca66aa?ds=sidebyside remove an ugly pimple thanks to units in XML --- diff --git a/src/surf/storage.c b/src/surf/storage.c index d399fdb0b6..227c71776d 100644 --- a/src/surf/storage.c +++ b/src/surf/storage.c @@ -564,7 +564,7 @@ static void storage_parse_storage_type(sg_platf_storage_type_cbarg_t storage_typ stype->properties = storage_type->properties; stype->content = xbt_strdup(storage_type->content); stype->type_id = xbt_strdup(storage_type->id); - stype->size = storage_type->size * 1000000000; /* storage_type->size is in Gbytes and stype->sizeis in bytes */ + stype->size = storage_type->size; XBT_DEBUG("ROUTING Create a storage type id '%s' with model '%s' content '%s'", stype->type_id,