X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/19000a5cd3bbcc747d896d6e555591bb1a08af38..8f366644c065e49964cbcdd106b50405c3f30e89:/src/surf/workstation.c diff --git a/src/surf/workstation.c b/src/surf/workstation.c index fcf77019e3..e617fa7c20 100644 --- a/src/surf/workstation.c +++ b/src/surf/workstation.c @@ -46,7 +46,7 @@ static void create_workstations(void) xbt_dict_foreach(cpu_set, cursor, name, cpu) { nw_card = NULL; xbt_dict_get(network_card_set, name, (void *) &nw_card); - xbt_assert0(nw_card, "No corresponding card found"); + xbt_assert1(nw_card, "No corresponding card found for %s",name); xbt_dict_set(workstation_set, name, workstation_new(name, cpu, nw_card), workstation_free); }