From a756fe08bd0fc287fe3245dab7a78f4bad473443 Mon Sep 17 00:00:00 2001 From: Darryl Miles Date: Sun, 20 Oct 2024 13:46:02 +0100 Subject: [PATCH] ext2spice.c: printf style constify fmt call-site --- ext2spice/ext2spice.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ext2spice/ext2spice.c b/ext2spice/ext2spice.c index 7bd1693c..d7efe11a 100644 --- a/ext2spice/ext2spice.c +++ b/ext2spice/ext2spice.c @@ -3669,7 +3669,8 @@ spcnodeVisit(node, res, cap) EFNodeName *nn; HierName *hierName; bool isConnected = FALSE; - char *fmt, *nsn; + const char *fmt; + char *nsn; EFAttr *ap; if (node->efnode_client) @@ -3731,7 +3732,7 @@ nodeVisitDebug(node, res, cap) { EFNodeName *nn; HierName *hierName; - char *fmt, *nsn; + char *nsn; EFAttr *ap; hierName = (HierName *) node->efnode_name->efnn_hier;