X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/45c3f1cfee86fb48c96d53f8267f99b6db6e3d7a..f2ad0175ed569f3cfa5df330ec4174d7fe7b1229:/examples/smpi/mvmul.c diff --git a/examples/smpi/mvmul.c b/examples/smpi/mvmul.c index 15a9e7e0f7..c7e8353279 100644 --- 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));