summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2016-09-11 19:48:12 +0000
committerflorian <florian@openbsd.org>2016-09-11 19:48:12 +0000
commit5de6a10f369df7afe62cf5a544dab36bfca6b275 (patch)
treed69e00057bf562ffee6bb315a825e0794803d218
parentWith the if a few lines above, this can never be true. (diff)
downloadwireguard-openbsd-5de6a10f369df7afe62cf5a544dab36bfca6b275.tar.xz
wireguard-openbsd-5de6a10f369df7afe62cf5a544dab36bfca6b275.zip
style; no obj change
-rw-r--r--sbin/ping6/ping6.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c
index 7d26dd9dc5f..f1979402b55 100644
--- a/sbin/ping6/ping6.c
+++ b/sbin/ping6/ping6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ping6.c,v 1.182 2016/09/11 19:47:12 florian Exp $ */
+/* $OpenBSD: ping6.c,v 1.183 2016/09/11 19:48:12 florian Exp $ */
/* $KAME: ping6.c,v 1.163 2002/10/25 02:19:06 itojun Exp $ */
/*
@@ -1061,7 +1061,9 @@ pr_pack(u_char *buf, int cc, struct msghdr *mhdr)
}
for (i = 8; cp < end; ++i, ++cp, ++dp) {
if (*cp != *dp) {
- (void)printf("\nwrong data byte #%d should be 0x%x but was 0x%x", i, *dp, *cp);
+ (void)printf("\nwrong data byte #%d "
+ "should be 0x%x but was 0x%x",
+ i, *dp, *cp);
break;
}
}