X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0e9c0448c6566825b170b98ecff716b098bda10e..f2ad0175ed569f3cfa5df330ec4174d7fe7b1229:/examples/smpi/mvmul.c diff --git a/examples/smpi/mvmul.c b/examples/smpi/mvmul.c index cacc0da30b..c7e8353279 100644 --- a/examples/smpi/mvmul.c +++ b/examples/smpi/mvmul.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2009-2010. The SimGrid Team. +/* Copyright (c) 2009-2010, 2013-2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -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));