diff options
author | florian <florian@openbsd.org> | 2018-05-17 18:58:40 +0000 |
---|---|---|
committer | florian <florian@openbsd.org> | 2018-05-17 18:58:40 +0000 |
commit | bfd0b123b235d9c5cebc3acd3ab4fe00dfd2c471 (patch) | |
tree | f6949943ba96c1e3a1b1b3fce36b7b5465f14eff /usr.sbin/nsd/dbcreate.c | |
parent | Bytes only have eight bits, not nine. (diff) | |
download | wireguard-openbsd-bfd0b123b235d9c5cebc3acd3ab4fe00dfd2c471.tar.xz wireguard-openbsd-bfd0b123b235d9c5cebc3acd3ab4fe00dfd2c471.zip |
update to nsd 4.1.21
OK sthen
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)); |