summary refs log tree commit diff
path: root/rega.c
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 /rega.c
parent6f45894c7f5f145208e0fce4344b2b87eb8ae722 (diff)
downloadroux-011dfc839d40c735fb63474aa6d5e1412b823a3b.tar.gz
silence format warning more reliably
Diffstat (limited to 'rega.c')
-rw-r--r--rega.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rega.c b/rega.c
index d2d42e0..d7452a8 100644
--- a/rega.c
+++ b/rega.c
@@ -670,7 +670,7 @@ rega(Fn *fn)
 			b1->link = blist;
 			blist = b1;
 			fn->nblk++;
-			snprintf(b1->name, NString, "%s_%s", b->name, s->name);
+			fmt(b1->name, "%s_%s", b->name, s->name);
 			b1->nins = &insb[NIns] - curi;
 			stmov += b1->nins;
 			stblk += 1;