The curse of Friday strikes AGAIN!

Here's just the YKD patch:

Chrissie

On 15/08/14 15:36, Christine Caulfield wrote:
I have no idea of YKD works or not, but it's a useful test of whether
the quorum tools worth without votequorum, if nothing else.

However, it currently fails to load because it always returns an error
of "" instead of a NULL string. This fixes this problem and this problem
ONLY!

Signed-Off-By: Christine Caulfield <[email protected]>


_______________________________________________
discuss mailing list
[email protected]
http://lists.corosync.org/mailman/listinfo/discuss


diff --git a/exec/vsf_ykd.c b/exec/vsf_ykd.c
index f29f3b1..8724168 100644
--- a/exec/vsf_ykd.c
+++ b/exec/vsf_ykd.c
@@ -512,7 +512,7 @@ char *ykd_init (
 	struct corosync_api_v1 *corosync_api,
 	quorum_set_quorate_fn_t set_primary)
 {
-	const char *error = "";
+	const char *error = NULL;
 
 	ykd_primary_callback_fn = set_primary;
 	api = corosync_api;
_______________________________________________
discuss mailing list
[email protected]
http://lists.corosync.org/mailman/listinfo/discuss

Reply via email to