svn commit: r188928 - stable/7/usr.sbin/ifmcstat

Bruce M Simpson bms at FreeBSD.org
Sun Feb 22 11:23:59 PST 2009


Author: bms
Date: Sun Feb 22 19:23:58 2009
New Revision: 188928
URL: http://svn.freebsd.org/changeset/base/188928

Log:
  fix typo!

Modified:
  stable/7/usr.sbin/ifmcstat/ifmcstat.c

Modified: stable/7/usr.sbin/ifmcstat/ifmcstat.c
==============================================================================
--- stable/7/usr.sbin/ifmcstat/ifmcstat.c	Sun Feb 22 18:53:56 2009	(r188927)
+++ stable/7/usr.sbin/ifmcstat/ifmcstat.c	Sun Feb 22 19:23:58 2009	(r188928)
@@ -768,7 +768,7 @@ ifmcstat_getifmaddrs(void)
 		/* Link-layer mapping, if present. */
 		pllsa = (sockunion_t *)ifma->ifma_lladdr;
 		if (pllsa != NULL) {
-			error = getnameinfo(&pllasa->sa, pllasa->sa.sa_len,
+			error = getnameinfo(&pllsa->sa, pllsa->sa.sa_len,
 			    addrbuf, sizeof(addrbuf), NULL, 0, NI_NUMERICHOST);
 			fprintf(stdout, "\t\t\tmcast-macaddr %s\n", addrbuf);
 		}


More information about the svn-src-stable-7 mailing list