summaryrefslogtreecommitdiff
path: root/usr.sbin/bind/lib/dns/masterdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bind/lib/dns/masterdump.c')
-rw-r--r--usr.sbin/bind/lib/dns/masterdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bind/lib/dns/masterdump.c b/usr.sbin/bind/lib/dns/masterdump.c
index e52f5631824..1cd5bf433b8 100644
--- a/usr.sbin/bind/lib/dns/masterdump.c
+++ b/usr.sbin/bind/lib/dns/masterdump.c
@@ -397,7 +397,7 @@ rdataset_totext(dns_rdataset_t *rdataset,
INDENT_TO(ttl_column);
length = snprintf(ttlbuf, sizeof(ttlbuf), "%u",
rdataset->ttl);
- INSIST(length <= sizeof ttlbuf);
+ INSIST(length < sizeof ttlbuf);
isc_buffer_availableregion(target, &r);
if (r.length < length)
return (ISC_R_NOSPACE);