X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5e0c3460eaee4b882d552124c15f7f5825494831..0f5aaf299f85e9347fa65abc98fd03d0555cc254:/teshsuite/msg/storage/concurrent_rw.c diff --git a/teshsuite/msg/storage/concurrent_rw.c b/teshsuite/msg/storage/concurrent_rw.c index c3c02d7c8a..201d8bc77d 100644 --- a/teshsuite/msg/storage/concurrent_rw.c +++ b/teshsuite/msg/storage/concurrent_rw.c @@ -130,9 +130,5 @@ int main(int argc, char **argv) storage_info(MSG_host_by_name(xbt_strdup("host"))); XBT_INFO("Simulation time %g", MSG_get_clock()); - if (res == MSG_OK) - return 0; - else - return 1; - + return res != MSG_OK; }