X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1fe7d56caef2a0298c9e92a9940f539fad0ea821..7abdd79c9f0f110c7ed500d9c9d30c475bbe83b2:/examples/msg/io/storage.c diff --git a/examples/msg/io/storage.c b/examples/msg/io/storage.c index 821d3987e3..ddae501738 100644 --- a/examples/msg/io/storage.c +++ b/examples/msg/io/storage.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2006-2014. The SimGrid Team. +/* Copyright (c) 2006-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -23,7 +23,7 @@ * ******************************************************************************/ -#include "msg/msg.h" +#include "simgrid/msg.h" #include "xbt/log.h" #include "xbt/dict.h" @@ -151,8 +151,5 @@ int main(int argc, char *argv[]) msg_error_t res = MSG_main(); XBT_INFO("Simulated time: %g", MSG_get_clock()); - if (res == MSG_OK) - return 0; - else - return 1; + return res != MSG_OK; }