=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/netstat/inet.c,v retrieving revision 1.137 retrieving revision 1.138 diff -c -r1.137 -r1.138 *** src/usr.bin/netstat/inet.c 2014/11/03 17:20:46 1.137 --- src/usr.bin/netstat/inet.c 2015/01/16 06:40:09 1.138 *************** *** 1,4 **** ! /* $OpenBSD: inet.c,v 1.137 2014/11/03 17:20:46 bluhm Exp $ */ /* $NetBSD: inet.c,v 1.14 1995/10/03 21:42:37 thorpej Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: inet.c,v 1.138 2015/01/16 06:40:09 deraadt Exp $ */ /* $NetBSD: inet.c,v 1.14 1995/10/03 21:42:37 thorpej Exp $ */ /* *************** *** 30,36 **** * SUCH DAMAGE. */ - #include #include #include #include --- 30,35 ---- *************** *** 802,808 **** char *cp; static char line[50]; struct hostent *hp; ! static char domain[MAXHOSTNAMELEN]; static int first = 1; if (first && !nflag) { --- 801,807 ---- char *cp; static char line[50]; struct hostent *hp; ! static char domain[HOST_NAME_MAX+1]; static int first = 1; if (first && !nflag) {