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
kill generated XML
[simgrid.git]
/
examples
/
smpi
/
mvmul.c
diff --git
a/examples/smpi/mvmul.c
b/examples/smpi/mvmul.c
index
15a9e7e
..
c7e8353
100644
(file)
--- a/
examples/smpi/mvmul.c
+++ b/
examples/smpi/mvmul.c
@@
-40,7
+40,7
@@
int main(int argc, char *argv[])
exit(USAGE_ERROR);
}
- N =
atoi(argv[1]
);
+ N =
xbt_str_parse_int(argv[1], "Invalid size: %s"
);
start_time = (struct timeval *) malloc(sizeof(struct timeval));
stop_time = (struct timeval *) malloc(sizeof(struct timeval));