Files
pacemaker/bsc#1239629-0003-Log-libcrmcluster-correctly-log-node-id.patch

26 lines
707 B
Diff

From bc7726e7e127ed548bbe6800b8050930e68e991e Mon Sep 17 00:00:00 2001
From: "Gao,Yan" <ygao@suse.com>
Date: Wed, 19 Mar 2025 01:04:16 +0100
Subject: [PATCH 3/8] Log: libcrmcluster: correctly log node id
---
lib/cluster/cluster.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/cluster/cluster.c b/lib/cluster/cluster.c
index dda4b8e89a..14b2bc0c96 100644
--- a/lib/cluster/cluster.c
+++ b/lib/cluster/cluster.c
@@ -271,7 +271,7 @@ pcmk__cluster_node_name(uint32_t nodeid)
}
crm_notice("Could not obtain a node name for node with "
- PCMK_XA_ID "=" PRIu32,
+ PCMK_XA_ID "=%" PRIu32,
nodeid);
return NULL;
}
--
2.43.0