From b198c0a3f0d7f31ccb930674b00ca6e0620c6a86 Mon Sep 17 00:00:00 2001 From: pdw <> Date: Fri, 25 Oct 2002 13:31:31 +0000 Subject: [PATCH] Fixed compile time warnings. --- iftop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iftop.c b/iftop.c index 19d24c4..eff4a54 100644 --- a/iftop.c +++ b/iftop.c @@ -340,7 +340,7 @@ void packet_init() { char errbuf[PCAP_ERRBUF_SIZE]; char *m; int s; - struct ifreq ifr = {0}; + struct ifreq ifr = {}; int dlt; /* First, get the address of the interface. If it isn't an ethernet @@ -411,7 +411,7 @@ void packet_loop(void* ptr) { * Entry point. See usage(). */ int main(int argc, char **argv) { pthread_t thread; - struct sigaction sa = {0}; + struct sigaction sa = {}; options_read(argc, argv);