summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2004-09-22 17:16:04 +0000
committerstefanf <stefanf@FreeBSD.org>2004-09-22 17:16:04 +0000
commit3bd075200eaa147ab43ca95e4d52cdc3d7eb37b1 (patch)
tree876fa4810aee4ccc80135386525360b38b125d70 /sys/net
parent5b6654bdf6f88b415d84b148a3789f52f1ec2685 (diff)
downloadFreeBSD-src-3bd075200eaa147ab43ca95e4d52cdc3d7eb37b1.zip
FreeBSD-src-3bd075200eaa147ab43ca95e4d52cdc3d7eb37b1.tar.gz
Prefer C99's __func__ over GCC's __FUNCTION__.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_arcsubr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_arcsubr.c b/sys/net/if_arcsubr.c
index a4a487e..fb221ab 100644
--- a/sys/net/if_arcsubr.c
+++ b/sys/net/if_arcsubr.c
@@ -653,7 +653,7 @@ arc_ifattach(ifp, lla)
#else
ifa = ifaddr_byindex(ifp->if_index);
#endif
- KASSERT(ifa != NULL, ("%s: no lladdr!\n", __FUNCTION__));
+ KASSERT(ifa != NULL, ("%s: no lladdr!\n", __func__));
sdl = (struct sockaddr_dl *)ifa->ifa_addr;
sdl->sdl_type = IFT_ARCNET;
sdl->sdl_alen = ifp->if_addrlen;
OpenPOWER on IntegriCloud