summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--amd64/sysv.c2
-rw-r--r--arm64/abi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/amd64/sysv.c b/amd64/sysv.c
index 86c59bf..ea9b2d2 100644
--- a/amd64/sysv.c
+++ b/amd64/sysv.c
@@ -493,7 +493,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);
+	(void)!snprintf(bn->name, NString, "%s.%d", b->name, b->visit);
 	bn->loop = b->loop;
 	bn->link = b->link;
 	b->link = bn;
diff --git a/arm64/abi.c b/arm64/abi.c
index 846ac87..8bc9c20 100644
--- a/arm64/abi.c
+++ b/arm64/abi.c
@@ -488,7 +488,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);
+	(void)!snprintf(bn->name, NString, "%s.%d", b->name, b->visit);
 	bn->loop = b->loop;
 	bn->link = b->link;
 	b->link = bn;