Date: Sat, 10 Jan 2015 03:29:17 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r276903 - head/sys/net Message-ID: <201501100329.t0A3THL5065602@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ae Date: Sat Jan 10 03:29:17 2015 New Revision: 276903 URL: https://svnweb.freebsd.org/changeset/base/276903 Log: Use if_name() macro instead of ifp->if_xname. MFH: 1 week Modified: head/sys/net/if_gif.c Modified: head/sys/net/if_gif.c ============================================================================== --- head/sys/net/if_gif.c Sat Jan 10 03:26:46 2015 (r276902) +++ head/sys/net/if_gif.c Sat Jan 10 03:29:17 2015 (r276903) @@ -464,7 +464,7 @@ gif_check_nesting(struct ifnet *ifp, str mtag = NULL; while ((mtag = m_tag_locate(m, MTAG_GIF, 0, mtag)) != NULL) { if (*(struct ifnet **)(mtag + 1) == ifp) { - log(LOG_NOTICE, "%s: loop detected\n", ifp->if_xname); + log(LOG_NOTICE, "%s: loop detected\n", if_name(ifp)); return (EIO); } count++;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501100329.t0A3THL5065602>