900526
diff --git a/lib/dns/rdata/in_1/apl_42.c b/lib/dns/rdata/in_1/apl_42.c
900526
index eb927b9..df35025 100644
900526
--- a/lib/dns/rdata/in_1/apl_42.c
900526
+++ b/lib/dns/rdata/in_1/apl_42.c
900526
@@ -116,7 +116,7 @@ totext_in_apl(ARGS_TOTEXT) {
900526
 	isc_uint8_t len;
900526
 	isc_boolean_t neg;
900526
 	unsigned char buf[16];
900526
-	char txt[sizeof(" !64000")];
900526
+	char txt[sizeof(" !64000:")];
900526
 	const char *sep = "";
900526
 	int n;
900526
 
900526
@@ -140,7 +140,7 @@ totext_in_apl(ARGS_TOTEXT) {
900526
 		isc_region_consume(&sr, 1);
900526
 		INSIST(len <= sr.length);
900526
 		n = snprintf(txt, sizeof(txt), "%s%s%u:", sep,
900526
-			     neg ? "!": "", afi);
900526
+			     neg ? "!" : "", afi);
900526
 		INSIST(n < (int)sizeof(txt));
900526
 		RETERR(str_totext(txt, target));
900526
 		switch (afi) {