From 011dfc839d40c735fb63474aa6d5e1412b823a3b Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Thu, 16 Mar 2023 16:22:11 +0100 Subject: silence format warning more reliably --- amd64/sysv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'amd64/sysv.c') 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; -- cgit 1.4.1