From 6f633a080418f4931c8ac86cbe0a0156a54d1f7b Mon Sep 17 00:00:00 2001 From: Christine Caulfield Date: Tue, 29 Jul 2008 13:52:14 +0100 Subject: [PATCH] [CMAN] Display the node's votes in cman_tool status I'm not sure how this one slipped the net. Signed-off-by: Christine Caulfield --- cman/cman_tool/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cman/cman_tool/main.c b/cman/cman_tool/main.c index 5b905ea1..49b7831c 100644 --- a/cman/cman_tool/main.c +++ b/cman/cman_tool/main.c @@ -225,6 +225,7 @@ static void show_status(void) if (cman_get_quorum_device(h, &qinfo) == 0 && qinfo.qi_state == 2) printf("Quorum device votes: %d\n", qinfo.qi_votes); printf("Total votes: %d\n", einfo->ei_total_votes); + printf("Node votes: %d\n", einfo->ei_node_votes); printf("Quorum: %d %s\n", einfo->ei_quorum, quorate?" ":"Activity blocked"); printf("Active subsystems: %d\n", cman_get_subsys_count(h)); -- 2.43.5