[ntpsec commit] BSD port fix.
Eric S. Raymond
esr at ntpsec.org
Fri Oct 23 20:23:51 UTC 2015
Module: ntpsec
Branch: master
Commit: 34e0ed73ffc96d829e65c9e58acd2c210e591f75
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=34e0ed73ffc96d829e65c9e58acd2c210e591f75
Author: Eric S. Raymond <esr at thyrsus.com>
Date: Fri Oct 23 16:23:39 2015 -0400
BSD port fix.
---
ntpq/ntpq-subs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ntpq/ntpq-subs.c b/ntpq/ntpq-subs.c
index f5a6d64..a63a4d9 100644
--- a/ntpq/ntpq-subs.c
+++ b/ntpq/ntpq-subs.c
@@ -1971,7 +1971,7 @@ doapeers(
)
{
u_int u;
- char fullname[HOST_NAME_MAX];
+ char fullname[MAXHOSTNAME];
sockaddr_u netnum;
const char * name_or_num;
size_t sl;
More information about the vc
mailing list