diff options
author | charnier <charnier@FreeBSD.org> | 2013-02-19 13:17:16 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2013-02-19 13:17:16 +0000 |
commit | 8f92a0e98309ecb478adf087a1888c41e6819e5a (patch) | |
tree | b8da1a2add099df3348fe17875ba77ff773e1af0 /usr.bin/netstat/unix.c | |
parent | ed1bf36a9bfc86b67d5309cb1fd48a828bbe8222 (diff) | |
download | FreeBSD-src-8f92a0e98309ecb478adf087a1888c41e6819e5a.zip FreeBSD-src-8f92a0e98309ecb478adf087a1888c41e6819e5a.tar.gz |
WARNS=6 compliance
Diffstat (limited to 'usr.bin/netstat/unix.c')
-rw-r--r-- | usr.bin/netstat/unix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/netstat/unix.c b/usr.bin/netstat/unix.c index 9a643c2..027e812 100644 --- a/usr.bin/netstat/unix.c +++ b/usr.bin/netstat/unix.c @@ -199,6 +199,7 @@ unixpr(u_long count_off, u_long gencnt_off, u_long dhead_off, u_long shead_off, struct xunpcb *xunp; u_long head_off; + buf = NULL; for (type = SOCK_STREAM; type <= SOCK_SEQPACKET; type++) { if (live) ret = pcblist_sysctl(type, &buf); |