File pacemaker-ticket-last-granted-prefix.diff of Package pacemaker
commit 150647923483ae92bac8be05c068134583552b0d
Author: Yuusuke Iida <iidayuus@intellilink.co.jp>
Date: Mon Feb 20 19:37:46 2012 +0900
Low: PE: changed a pre-fix to refer to a right value.
diff --git a/lib/pengine/unpack.c b/lib/pengine/unpack.c
index 70bcdc6..34f0e0e 100644
--- a/lib/pengine/unpack.c
+++ b/lib/pengine/unpack.c
@@ -425,7 +425,7 @@ get_ticket_state(gpointer key, gpointer value, gpointer user_data)
const char *attr_key = key;
const char *granted_prefix = "granted-ticket-";
- const char *last_granted_prefix = "last-granted-ticket-";
+ const char *last_granted_prefix = "last-granted-";
static int granted_prefix_strlen = 0;
static int last_granted_prefix_strlen = 0;