aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/sockstat
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2017-03-21 08:57:20 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2017-03-21 08:57:20 +0000
commitbf40d2ca687a4e7b13358a8ad161518d54441072 (patch)
treedbe6d71e7c8486eeb68cc43f5067dbf22f65d37f /usr.bin/sockstat
parentabdc2e314b6d79cf7639a2d370600d9a0d5f919c (diff)
Notes
Diffstat (limited to 'usr.bin/sockstat')
-rw-r--r--usr.bin/sockstat/sockstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/sockstat/sockstat.c b/usr.bin/sockstat/sockstat.c
index 97add95457a8..6235f8285793 100644
--- a/usr.bin/sockstat/sockstat.c
+++ b/usr.bin/sockstat/sockstat.c
@@ -561,7 +561,7 @@ gather_inet(int proto)
{
struct xinpgen *xig, *exig;
struct xinpcb *xip;
- struct xtcpcb *xtp;
+ struct xtcpcb *xtp = NULL;
struct xsocket *so;
struct sock *sock;
struct addr *laddr, *faddr;