X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a5de99b2e59f7e8d83c592d361a980d5f33693e5..ec16845133f5f1b5262d2d77d8ba22824fa8a446:/examples/gras/mutual_exclusion/simple_token/simple_token.c diff --git a/examples/gras/mutual_exclusion/simple_token/simple_token.c b/examples/gras/mutual_exclusion/simple_token/simple_token.c index 686d7ec4d9..65a7d2d05e 100644 --- a/examples/gras/mutual_exclusion/simple_token/simple_token.c +++ b/examples/gras/mutual_exclusion/simple_token/simple_token.c @@ -79,7 +79,7 @@ static int node_cb_stoken_handler(gras_msg_cb_ctx_t ctx, void *payload) } CATCH(e) { gras_socket_close(globals->sock); - RETHROW0("Unable to forward token: %s"); + RETHROWF("Unable to forward token: %s"); } } @@ -171,7 +171,7 @@ int node(int argc, char *argv[]) TRY { gras_msg_send(globals->tosuccessor, "stoken", &token); } CATCH(e) { - RETHROW0("Unable to send the freshly created token: %s"); + RETHROWF("Unable to send the freshly created token: %s"); } }