diff options
-rw-r--r-- | rega.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rega.c b/rega.c index bd26f1c..0359d2b 100644 --- a/rega.c +++ b/rega.c @@ -667,7 +667,7 @@ rega(Fn *fn) b1->link = blist; blist = b1; fn->nblk++; - sprintf(b1->name, "%s_%s", b->name, s->name); + (void)!snprintf(b1->name, sizeof(b1->name), "%s_%s", b->name, s->name); b1->nins = &insb[NIns] - curi; stmov += b1->nins; stblk += 1; |