summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2019-12-04 19:07:15 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2019-12-04 19:07:15 +0000
commit8d2a1f463deafb37cee374a1dce6b761960d03be (patch)
tree81cd37e5eb6c4ad41c57b83a2583a95d72f14f6c /sbin
parent69c9be56f6a298918f585699c3eeba44a587ad3e (diff)
Use NI_MAXHOST like everywhere else instead of a wrong number.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/unwind/unwind.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/unwind/unwind.h b/sbin/unwind/unwind.h
index 4eaff65883a..d19a321e94f 100644
--- a/sbin/unwind/unwind.h
+++ b/sbin/unwind/unwind.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: unwind.h,v 1.43 2019/12/03 16:16:25 florian Exp $ */
+/* $OpenBSD: unwind.h,v 1.44 2019/12/04 19:07:14 florian Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
@@ -158,7 +158,7 @@ struct uw_conf {
struct query_imsg {
uint64_t id;
- char qname[255];
+ char qname[NI_MAXHOST];
int t;
int c;
int err;