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
Merge branch 'coverity_scan' of github.com:mquinson/simgrid
[simgrid.git]
/
examples
/
smpi
/
mvmul.c
diff --git
a/examples/smpi/mvmul.c
b/examples/smpi/mvmul.c
index 15a9e7e0f7a0d49497744b847fafbcc388a88fa6..c7e8353279950006bfb4b329cb1a814b02a62561 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));