svn commit: r235518 - stable/8/usr.bin/netstat
Xin LI
delphij at FreeBSD.org
Wed May 16 20:06:18 UTC 2012
Author: delphij
Date: Wed May 16 20:06:17 2012
New Revision: 235518
URL: http://svn.freebsd.org/changeset/base/235518
Log:
MFC r234245:
Eliminate an unused parameter of static method igmp_stats_live_old().
Modified:
stable/8/usr.bin/netstat/inet.c (contents, props changed)
Directory Properties:
stable/8/usr.bin/netstat/ (props changed)
Modified: stable/8/usr.bin/netstat/inet.c
==============================================================================
--- stable/8/usr.bin/netstat/inet.c Wed May 16 20:05:31 2012 (r235517)
+++ stable/8/usr.bin/netstat/inet.c Wed May 16 20:06:17 2012 (r235518)
@@ -1052,7 +1052,7 @@ icmp_stats(u_long off, const char *name,
* Dump IGMP statistics structure (pre 8.x kernel).
*/
static void
-igmp_stats_live_old(u_long off, const char *name)
+igmp_stats_live_old(const char *name)
{
struct oigmpstat oigmpstat, zerostat;
size_t len = sizeof(oigmpstat);
@@ -1112,7 +1112,7 @@ igmp_stats(u_long off, const char *name,
return;
}
if (len < sizeof(igmpstat)) {
- igmp_stats_live_old(off, name);
+ igmp_stats_live_old(name);
return;
}
}
More information about the svn-src-all
mailing list