diff options
author | julian <julian@FreeBSD.org> | 1998-06-12 20:03:26 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1998-06-12 20:03:26 +0000 |
commit | fd91ad6629443073196c8a7be06c623864255fbb (patch) | |
tree | d2cb909c6b0c8ec9b8ba0346bba4bf5f37688581 /sys | |
parent | c5010eaee81172238ce4ba25f0628e1e70e7da87 (diff) | |
download | FreeBSD-src-fd91ad6629443073196c8a7be06c623864255fbb.zip FreeBSD-src-fd91ad6629443073196c8a7be06c623864255fbb.tar.gz |
Remove 3 occurances of __FUNCTION__
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if_loop.c | 7 | ||||
-rw-r--r-- | sys/netinet/ip_fw.c | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c index c6f3832..ee77758 100644 --- a/sys/net/if_loop.c +++ b/sys/net/if_loop.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if_loop.c 8.1 (Berkeley) 6/10/93 - * $Id: if_loop.c,v 1.32 1998/06/07 17:12:03 dfr Exp $ + * $Id: if_loop.c,v 1.33 1998/06/12 03:48:09 julian Exp $ */ /* @@ -169,7 +169,7 @@ if_simloop(ifp, m, dst, hlen) register struct ifqueue *ifq = 0; if ((m->m_flags & M_PKTHDR) == 0) - panic("%s: no HDR", __FUNCTION__); + panic("if_simloop: no HDR"); m->m_pkthdr.rcvif = ifp; #if NBPFILTER > 0 /* BPF write needs to be handled specially */ @@ -237,8 +237,7 @@ if_simloop(ifp, m, dst, hlen) break; #endif NETATALK default: - printf("%s: can't handle af=%d\n", - __FUNCTION__, dst->sa_family); + printf("if_simloop: can't handle af=%d\n", dst->sa_family); m_freem(m); return (EAFNOSUPPORT); } diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c index c85b77c..71b20b7 100644 --- a/sys/netinet/ip_fw.c +++ b/sys/netinet/ip_fw.c @@ -12,7 +12,7 @@ * * This software is provided ``AS IS'' without any warranties of any kind. * - * $Id: ip_fw.c,v 1.87 1998/06/06 19:39:08 julian Exp $ + * $Id: ip_fw.c,v 1.88 1998/06/06 20:45:26 julian Exp $ */ /* @@ -1117,7 +1117,7 @@ ip_fw_init(void) default_rule.fw_flg |= IP_FW_F_IN | IP_FW_F_OUT; if (check_ipfw_struct(&default_rule) == NULL || add_entry(&ip_fw_chain, &default_rule)) - panic(__FUNCTION__); + panic("ip_fw_init"); printf("IP packet filtering initialized, " #ifdef IPDIVERT |