From 84ca685d4d9cab5c9606a29b187082d31ec8488b Mon Sep 17 00:00:00 2001 From: Andrew Beekhof Date: Thu, 1 Aug 2013 20:20:46 +1000 Subject: [PATCH] Fix: crmd: Prevent crash by passing log arguments in the correct order --- crmd/lrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crmd/lrm.c b/crmd/lrm.c index 4bce39a7c57..d15897345b9 100644 --- a/crmd/lrm.c +++ b/crmd/lrm.c @@ -340,7 +340,7 @@ lrm_state_verify_stopped(lrm_state_t * lrm_state, enum crmd_fsa_state cur_state, lrm_state->pending_ops, stop_recurring_actions, lrm_state); crm_notice("Stopped %u recurring operations at %s (%u ops remaining)", - g_hash_table_size(lrm_state->pending_ops), removed, when); + g_hash_table_size(lrm_state->pending_ops), when, removed); } if (lrm_state->pending_ops) {