summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/systat/netstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/systat/netstat.c b/usr.bin/systat/netstat.c
index 564362e..22ef864 100644
--- a/usr.bin/systat/netstat.c
+++ b/usr.bin/systat/netstat.c
@@ -252,8 +252,8 @@ fetchnetstat_sysctl()
struct xinpgen *inpg;
char *cur, *end;
struct inpcb *inpcb;
- struct xinpcb *xip;
- struct xtcpcb *xtp;
+ struct xinpcb *xip = NULL;
+ struct xtcpcb *xtp = NULL;
int plen;
size_t lsz;
OpenPOWER on IntegriCloud