summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ipv6_rtrequest.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1999-01-11 05:10:58 +0000
committermillert <millert@openbsd.org>1999-01-11 05:10:58 +0000
commit30ada397194e271afa7d8722cb210facc046d5e0 (patch)
treeda96bf3f3c53aa96309550a9f93772da24730c8f /sys/netinet6/ipv6_rtrequest.c
parentAdd pnic driver (diff)
downloadwireguard-openbsd-30ada397194e271afa7d8722cb210facc046d5e0.tar.xz
wireguard-openbsd-30ada397194e271afa7d8722cb210facc046d5e0.zip
panic prints a newline for you, don't do it in the panic string
Diffstat (limited to 'sys/netinet6/ipv6_rtrequest.c')
-rw-r--r--sys/netinet6/ipv6_rtrequest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ipv6_rtrequest.c b/sys/netinet6/ipv6_rtrequest.c
index 7e0bb20e27a..a797014b12a 100644
--- a/sys/netinet6/ipv6_rtrequest.c
+++ b/sys/netinet6/ipv6_rtrequest.c
@@ -687,7 +687,7 @@ ipv6_rtrequest(req, rt, sa)
*/
if (rt->rt_gateway == NULL)
- panic("ipv6_rtrequest(): No rt_gateway at the RTM_RESOLVE code.\n");
+ panic("ipv6_rtrequest(): No rt_gateway at the RTM_RESOLVE code.");
/*
* Order of bit checking is very important. I check TUNNEL first,