Blame SOURCES/pacemaker-fix_crmd_prevent_crash_by_passing_log_arguments_in_the_correct_order.patch
|
|
ed0026 |
commit 84ca685d4d9cab5c9606a29b187082d31ec8488b
|
|
|
ed0026 |
Author: Andrew Beekhof <andrew@beekhof.net>
|
|
|
ed0026 |
Date: Thu Aug 1 20:20:46 2013 +1000
|
|
|
ed0026 |
|
|
|
ed0026 |
Fix: crmd: Prevent crash by passing log arguments in the correct order
|
|
|
ed0026 |
|
|
|
ed0026 |
diff --git a/crmd/lrm.c b/crmd/lrm.c
|
|
|
ed0026 |
index 4bce39a..d158973 100644
|
|
|
ed0026 |
--- a/crmd/lrm.c
|
|
|
ed0026 |
+++ b/crmd/lrm.c
|
|
|
ed0026 |
@@ -340,7 +340,7 @@ lrm_state_verify_stopped(lrm_state_t * lrm_state, enum crmd_fsa_state cur_state,
|
|
|
ed0026 |
lrm_state->pending_ops, stop_recurring_actions, lrm_state);
|
|
|
ed0026 |
|
|
|
ed0026 |
crm_notice("Stopped %u recurring operations at %s (%u ops remaining)",
|
|
|
ed0026 |
- g_hash_table_size(lrm_state->pending_ops), removed, when);
|
|
|
ed0026 |
+ g_hash_table_size(lrm_state->pending_ops), when, removed);
|
|
|
ed0026 |
}
|
|
|
ed0026 |
|
|
|
ed0026 |
if (lrm_state->pending_ops) {
|