X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7fc88a7f2695f6e33e848b17c51b082414649b62..16bbb8a8212497d9c44c81333ed2c0e689e0c5af:/examples/msg/actions/storage_actions.c diff --git a/examples/msg/actions/storage_actions.c b/examples/msg/actions/storage_actions.c index 855f96187a..aa1ef5b41e 100644 --- a/examples/msg/actions/storage_actions.c +++ b/examples/msg/actions/storage_actions.c @@ -58,7 +58,7 @@ static void action_open(const char *const *action) { double clock = MSG_get_clock(); /* this "call" is free thanks to inlining */ sprintf(full_name, "%s:%s", MSG_process_get_name(MSG_process_self()), - file_name); + file_name); ACT_DEBUG("Entering Open: %s (filename: %s)", NAME, file_name); file = MSG_file_open(file_name, NULL); @@ -140,5 +140,5 @@ int main(int argc, char *argv[]) { /* Explicit finalization of the action module is required now*/ MSG_action_exit(); - return !!MSG_OK; + return !!res; } /* end_of_main */