From 5f643a492be4c0088ddead2fc4d0c4765e463b49 Mon Sep 17 00:00:00 2001 From: "Gao,Yan" Date: Wed, 19 Mar 2025 01:15:45 +0100 Subject: [PATCH 4/8] Log: pacemaker-attrd: use %PRIu32 format specifier instead of %u for node id --- daemons/attrd/attrd_corosync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemons/attrd/attrd_corosync.c b/daemons/attrd/attrd_corosync.c index 423e0c66b0..4c58c14d22 100644 --- a/daemons/attrd/attrd_corosync.c +++ b/daemons/attrd/attrd_corosync.c @@ -114,7 +114,7 @@ attrd_cpg_dispatch(cpg_handle_t handle, xml = pcmk__xml_parse(data); if (xml == NULL) { - crm_err("Bad message received from %s[%u]: '%.120s'", + crm_err("Bad message received from %s[%" PRIu32 "]: '%.120s'", from, nodeid, data); } else { attrd_peer_message(pcmk__get_node(nodeid, from, NULL, -- 2.43.0