X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5b3677b425b9cc6949c1573d59ac772540cbf4b2..eee4fd8a61935c3b7cbefe0768e040eeea1c9336:/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));