summaryrefslogtreecommitdiff
path: root/usr.sbin/mld6query
diff options
context:
space:
mode:
authorgrant <grant@NetBSD.org>2002-07-20 08:40:16 +0000
committergrant <grant@NetBSD.org>2002-07-20 08:40:16 +0000
commiteda9e509bbc81a219a3513d91752daed839ec1fa (patch)
tree496800833a474ad8941f7b8c6ef39ab3ee28a682 /usr.sbin/mld6query
parent44a3eec3a094a8d840567635454c32d07d47c6d9 (diff)
sweep of errx/warnx, remove unnecessary trailing \n
Diffstat (limited to 'usr.sbin/mld6query')
-rw-r--r--usr.sbin/mld6query/mld6.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/mld6query/mld6.c b/usr.sbin/mld6query/mld6.c
index 75cdfade382..080391626d3 100644
--- a/usr.sbin/mld6query/mld6.c
+++ b/usr.sbin/mld6query/mld6.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mld6.c,v 1.4 2001/05/07 14:00:22 kleink Exp $ */
+/* $NetBSD: mld6.c,v 1.5 2002/07/20 08:40:18 grant Exp $ */
/* $KAME: mld6.c,v 1.9 2000/12/04 06:29:37 itojun Exp $ */
/*
@@ -234,12 +234,12 @@ make_msg(int index, struct in6_addr *addr, u_int type)
errx(1, "inet6_opt_finish(buf) failed");
#else /* old advanced API */
if (inet6_option_init((void *)cmsgp, &cmsgp, IPV6_HOPOPTS))
- errx(1, "inet6_option_init failed\n");
+ errx(1, "inet6_option_init failed");
raopt[0] = IP6OPT_RTALERT;
raopt[1] = IP6OPT_RTALERT_LEN - 2;
memcpy(&raopt[2], (caddr_t)&rtalert_code, sizeof(u_short));
if (inet6_option_append(cmsgp, raopt, 4, 0))
- errx(1, "inet6_option_append failed\n");
+ errx(1, "inet6_option_append failed");
#endif
}