summary refs log tree commit diff
path: root/amd64
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 /amd64
parent6f45894c7f5f145208e0fce4344b2b87eb8ae722 (diff)
downloadroux-011dfc839d40c735fb63474aa6d5e1412b823a3b.tar.gz
silence format warning more reliably
Diffstat (limited to 'amd64')
-rw-r--r--amd64/sysv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amd64/sysv.c b/amd64/sysv.c
index 74db60c..6c62887 100644
--- a/amd64/sysv.c
+++ b/amd64/sysv.c
@@ -512,7 +512,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;