diff options
| -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 c6f3832776d1..ee77758535e7 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 c85b77ce5663..71b20b710ebb 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 |
