diff options
author | pdw <> | 2002-10-25 13:31:31 +0000 |
---|---|---|
committer | pdw <> | 2002-10-25 13:31:31 +0000 |
commit | b198c0a3f0d7f31ccb930674b00ca6e0620c6a86 (patch) | |
tree | c46d73ae6e6d39ee370f6bd683779f1c8f18a3dc /iftop.c | |
parent | a026ca0c02550c248bc56c481a79b9bca2b3baf3 (diff) | |
download | iftop-b198c0a3f0d7f31ccb930674b00ca6e0620c6a86.zip |
Fixed compile time warnings.
Diffstat (limited to 'iftop.c')
-rw-r--r-- | iftop.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |