X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a5de99b2e59f7e8d83c592d361a980d5f33693e5..ec16845133f5f1b5262d2d77d8ba22824fa8a446:/src/gras/Msg/timer.c diff --git a/src/gras/Msg/timer.c b/src/gras/Msg/timer.c index 989fa84030..3c97260740 100644 --- a/src/gras/Msg/timer.c +++ b/src/gras/Msg/timer.c @@ -65,7 +65,7 @@ void gras_timer_cancel_delay(double interval, void_f_void_t action) } if (!found) - THROW2(mismatch_error, 0, + THROWF(mismatch_error, 0, "Cannot remove the action %p delayed of %f second: not found", action, interval); @@ -91,7 +91,7 @@ void gras_timer_cancel_repeat(double interval, void_f_void_t action) } if (!found) - THROW2(mismatch_error, 0, + THROWF(mismatch_error, 0, "Cannot remove the action %p delayed of %f second: not found", action, interval); } @@ -115,7 +115,7 @@ void gras_timer_cancel_delay_all(void) } if (!found) - THROW0(mismatch_error, 0, "No delayed action to remove"); + THROWF(mismatch_error, 0, "No delayed action to remove"); } @@ -138,7 +138,7 @@ void gras_timer_cancel_repeat_all(void) } if (!found) - THROW0(mismatch_error, 0, "No repetitive action to remove"); + THROWF(mismatch_error, 0, "No repetitive action to remove"); } /** @brief Cancel all delayed and repetitive tasks */