Use function name in panic string, like in some other places.
authorclaudio <claudio@openbsd.org>
Mon, 9 Jul 2018 10:58:21 +0000 (10:58 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 9 Jul 2018 10:58:21 +0000 (10:58 +0000)
OK henning@ benno@

sys/kern/uipc_usrreq.c

index 1df1517..24485c9 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: uipc_usrreq.c,v 1.133 2018/07/02 14:36:33 visa Exp $  */
+/*     $OpenBSD: uipc_usrreq.c,v 1.134 2018/07/09 10:58:21 claudio Exp $       */
 /*     $NetBSD: uipc_usrreq.c,v 1.18 1996/02/09 19:00:50 christos Exp $        */
 
 /*
@@ -307,7 +307,7 @@ uipc_usrreq(struct socket *so, int req, struct mbuf *m, struct mbuf *nam,
                break;
 
        default:
-               panic("piusrreq");
+               panic("uipc_usrreq");
        }
 release:
        m_freem(control);