=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/netstat/netstat.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- src/usr.bin/netstat/netstat.h 1997/06/29 21:46:04 1.8 +++ src/usr.bin/netstat/netstat.h 1997/07/04 04:31:32 1.9 @@ -1,4 +1,4 @@ -/* $OpenBSD: netstat.h,v 1.8 1997/06/29 21:46:04 millert Exp $ */ +/* $OpenBSD: netstat.h,v 1.9 1997/07/04 04:31:32 millert Exp $ */ /* $NetBSD: netstat.h,v 1.6 1996/05/07 02:55:05 thorpej Exp $ */ /* @@ -38,12 +38,8 @@ #include -/* What is the max length of a pointer printed with %p? */ -#if (UINT_MAX == ULONG_MAX) -#define PLEN 10 -#else -#define PLEN 18 -#endif +/* What is the max length of a pointer printed with %p (including 0x)? */ +#define PLEN (LONG_BIT / 4 + 2) int Aflag; /* show addresses of protocol control block */ int aflag; /* show all sockets (including servers) */