summaryrefslogtreecommitdiff
path: root/sys/netinet6/ipv6_rtrequest.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-01-11 05:12:41 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-01-11 05:12:41 +0000
commitb3067fd524234e263e58b215d0fb24d414bf1c34 (patch)
tree5c1576265dded5700ab387af81051fabd39f3396 /sys/netinet6/ipv6_rtrequest.c
parent9ee95b4b405b050512cf782b508d774f4601a6b5 (diff)
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,