A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace xbt_die(bprintf(...)) with xbt_die(...).
[simgrid.git]
/
src
/
surf
/
surf.c
diff --git
a/src/surf/surf.c
b/src/surf/surf.c
index
0ef93c9
..
41347b7
100644
(file)
--- a/
src/surf/surf.c
+++ b/
src/surf/surf.c
@@
-203,8
+203,7
@@
int find_model_description(s_surf_model_description_t * table,
strcat(name_list, ", ");
strcat(name_list, table[i].name);
}
- xbt_assert2(0, "Model '%s' is invalid! Valid models are: %s.", name,
- name_list);
+ xbt_die("Model '%s' is invalid! Valid models are: %s.", name, name_list);
return -1;
}