From: bluhm Date: Mon, 20 Dec 2021 15:23:32 +0000 (+0000) Subject: Fix function name in panic string. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=cb010a8d6bfe04dc28bfdb85df5dbaa58af3a9b9;p=openbsd Fix function name in panic string. --- diff --git a/sys/netinet/ipsec_input.c b/sys/netinet/ipsec_input.c index 499bea22f79..4a6c15215be 100644 --- a/sys/netinet/ipsec_input.c +++ b/sys/netinet/ipsec_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsec_input.c,v 1.197 2021/12/08 14:24:18 bluhm Exp $ */ +/* $OpenBSD: ipsec_input.c,v 1.198 2021/12/20 15:23:32 bluhm Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr) and @@ -1000,7 +1000,7 @@ ipsec_protoff(struct mbuf *m, int off, int af) l = (ip6e.ip6e_len + 1) << 3; #ifdef DIAGNOSTIC if (l <= 0) - panic("ah6_input: l went zero or negative"); + panic("%s: l went zero or negative", __func__); #endif nxt = ip6e.ip6e_nxt;