diff options
| author | Mark Murray <markm@FreeBSD.org> | 2002-04-28 12:15:40 +0000 |
|---|---|---|
| committer | Mark Murray <markm@FreeBSD.org> | 2002-04-28 12:15:40 +0000 |
| commit | e65dd7bc2fdef1dc787eb42ae777f908dec4c447 (patch) | |
| tree | b01a328d5e905b82825b0b5472d5b13485b320d0 /usr.bin/netstat/if.c | |
| parent | 2d3f94bf1bb7eb3601ab0fa1d3cf4c4b5d52ce09 (diff) | |
Notes
Diffstat (limited to 'usr.bin/netstat/if.c')
| -rw-r--r-- | usr.bin/netstat/if.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c index fba5158d24cc1..e58fbd2867e26 100644 --- a/usr.bin/netstat/if.c +++ b/usr.bin/netstat/if.c @@ -87,7 +87,7 @@ static int bdg_done; /* print bridge statistics */ void -bdg_stats(u_long dummy __unused, char *name, int af __unused) +bdg_stats(u_long dummy __unused, char *name, int _af __unused) { int i; size_t slen ; @@ -153,7 +153,7 @@ show_stat(const char *fmt, int width, u_long value, short showvalue) * Print a description of the network interfaces. */ void -intpr(int interval, u_long ifnetaddr, void (*pfunc)(char *)) +intpr(int _interval, u_long ifnetaddr, void (*pfunc)(char *)) { struct ifnet ifnet; struct ifnethead ifnethead; @@ -192,8 +192,8 @@ intpr(int interval, u_long ifnetaddr, void (*pfunc)(char *)) printf("ifnet: symbol not defined\n"); return; } - if (interval) { - sidewaysintpr((unsigned)interval, ifnetaddr); + if (_interval) { + sidewaysintpr((unsigned)_interval, ifnetaddr); return; } if (kread(ifnetaddr, (char *)&ifnethead, sizeof ifnethead)) |
