summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet6/ip6_output.c')
-rw-r--r--sys/netinet6/ip6_output.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c
index 8f7caa5..5755a1f 100644
--- a/sys/netinet6/ip6_output.c
+++ b/sys/netinet6/ip6_output.c
@@ -395,7 +395,8 @@ ip6_output(struct mbuf *m0, struct ip6_pktopts *opt,
case ENOMEM:
break;
default:
- printf("ip6_output (ipsec): error code %d\n", error);
+ printf("[%s:%d] (ipsec): error code %d\n",
+ __func__, __LINE__, error);
/* FALLTHROUGH */
case ENOENT:
/* don't show these error codes to the user */
@@ -562,7 +563,8 @@ again:
case ENOMEM:
break;
default:
- printf("ip6_output (ipsec): error code %d\n", error);
+ printf("[%s:%d] (ipsec): error code %d\n",
+ __func__, __LINE__, error);
/* FALLTHROUGH */
case ENOENT:
/* don't show these error codes to the user */
OpenPOWER on IntegriCloud