diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-03-14 11:09:11 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-03-14 11:09:11 +0000 |
| commit | 41aa71dd3e63edb3522982ed11cb0a5a3499d416 (patch) | |
| tree | 31771977edca63464e09236c6e1841ea2bffc0c2 /sys | |
| parent | 8ab7c8f322add3b1b71889cee9284bb44abd8cf9 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/netinet6/ip6_output.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index 8f7caa5251a9..5755a1f196a4 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 */ |
