summary refs log tree commit diff
path: root/arm64
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin@c9x.me>2023-03-16 16:22:11 +0100
committerQuentin Carbonneaux <quentin@c9x.me>2023-03-16 16:22:11 +0100
commit011dfc839d40c735fb63474aa6d5e1412b823a3b (patch)
tree4579fecc9c703d8ff348a69c6ce74679c8d2c210 /arm64
parent6f45894c7f5f145208e0fce4344b2b87eb8ae722 (diff)
downloadroux-011dfc839d40c735fb63474aa6d5e1412b823a3b.tar.gz
silence format warning more reliably
Diffstat (limited to 'arm64')
-rw-r--r--arm64/abi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arm64/abi.c b/arm64/abi.c
index b9d557d..18bdfc5 100644
--- a/arm64/abi.c
+++ b/arm64/abi.c
@@ -547,7 +547,7 @@ split(Fn *fn, Blk *b)
 	idup(&bn->ins, curi, bn->nins);
 	curi = &insb[NIns];
 	bn->visit = ++b->visit;
-	snprintf(bn->name, NString, "%s.%d", b->name, b->visit);
+	fmt(bn->name, "%s.%d", b->name, b->visit);
 	bn->loop = b->loop;
 	bn->link = b->link;
 	b->link = bn;