summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-04-20 16:03:53 +0000
committerpfg <pfg@FreeBSD.org>2016-04-20 16:03:53 +0000
commitf6bdba80cc348d97bf82fc4574c6d09020fdce13 (patch)
tree68bf1f5458e3309f003300b79a7219d45f917ef8 /lib
parent15369e2805f361b0ac3d32a98d1413add68c5b42 (diff)
downloadFreeBSD-src-f6bdba80cc348d97bf82fc4574c6d09020fdce13.zip
FreeBSD-src-f6bdba80cc348d97bf82fc4574c6d09020fdce13.tar.gz
Minor indentation issue.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/ip6opt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/net/ip6opt.c b/lib/libc/net/ip6opt.c
index c2d292f..db3f8ce 100644
--- a/lib/libc/net/ip6opt.c
+++ b/lib/libc/net/ip6opt.c
@@ -199,8 +199,7 @@ inet6_option_alloc(struct cmsghdr *cmsg, int datalen, int multx, int plusy)
/* calculate pad length before the option. */
off = bp - (u_char *)eh;
- padlen = roundup2(off % multx, multx) -
- (off % multx);
+ padlen = roundup2(off % multx, multx) - (off % multx);
padlen += plusy;
padlen %= multx; /* keep the pad as short as possible */
/* insert padding */
OpenPOWER on IntegriCloud