X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9932a0c0d2c44e34633c97a827b2b04d615cb4e9..a6842b518fd3973d810bae84ad5110c26b20953b:/examples/msg/io/file_unlink.c diff --git a/examples/msg/io/file_unlink.c b/examples/msg/io/file_unlink.c index 4e5e58191c..34f7dc0dfd 100644 --- a/examples/msg/io/file_unlink.c +++ b/examples/msg/io/file_unlink.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2008-2010, 2012-2014. The SimGrid Team. +/* Copyright (c) 2008-2010, 2012-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -14,7 +14,6 @@ #include #include #include "simgrid/msg.h" -#include "surf/surf_private.h" int host(int argc, char *argv[]); @@ -70,9 +69,5 @@ int main(int argc, char **argv) res = MSG_main(); XBT_INFO("Simulation time %g", MSG_get_clock()); - if (res == MSG_OK) - return 0; - else - return 1; - + return res != MSG_OK; }