From: Henri Casanova Date: Thu, 8 May 2014 03:09:38 +0000 (-1000) Subject: Modified smpi_sleep() so that it returns 0, instead of the number of seconds X-Git-Tag: v3_11~88^2~1^2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/da4d2b60e1e61d4d5f1ee19a3e2e225c7d431e2c Modified smpi_sleep() so that it returns 0, instead of the number of seconds it was passed in (not that people check that return value much, but...) --- diff --git a/src/smpi/smpi_bench.c b/src/smpi/smpi_bench.c index 15fdb676a4..28ef158e06 100644 --- a/src/smpi/smpi_bench.c +++ b/src/smpi/smpi_bench.c @@ -224,7 +224,7 @@ unsigned int smpi_sleep(unsigned int secs) simcall_host_execution_wait(action); smpi_bench_begin(); - return secs; + return 0; } int smpi_usleep(useconds_t usecs)