diff options
Diffstat (limited to 'usr.sbin/nsd/dbcreate.c')
-rw-r--r-- | usr.sbin/nsd/dbcreate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nsd/dbcreate.c b/usr.sbin/nsd/dbcreate.c index d8d4608505b..1d91225f092 100644 --- a/usr.sbin/nsd/dbcreate.c +++ b/usr.sbin/nsd/dbcreate.c @@ -234,7 +234,7 @@ print_rrs(FILE* out, struct zone* zone) static int print_header(zone_type* zone, FILE* out, time_t* now, const char* logs) { - char buf[4096]; + char buf[4096+16]; /* ctime prints newline at end of this line */ snprintf(buf, sizeof(buf), "; zone %s written by NSD %s on %s", zone->opts->name, PACKAGE_VERSION, ctime(now)); |