svn commit: r298353 - head/lib/libc/net

Pedro F. Giffuni pfg at FreeBSD.org
Wed Apr 20 16:03:54 UTC 2016


Author: pfg
Date: Wed Apr 20 16:03:53 2016
New Revision: 298353
URL: https://svnweb.freebsd.org/changeset/base/298353

Log:
  Minor indentation issue.

Modified:
  head/lib/libc/net/ip6opt.c

Modified: head/lib/libc/net/ip6opt.c
==============================================================================
--- head/lib/libc/net/ip6opt.c	Wed Apr 20 15:45:55 2016	(r298352)
+++ head/lib/libc/net/ip6opt.c	Wed Apr 20 16:03:53 2016	(r298353)
@@ -199,8 +199,7 @@ inet6_option_alloc(struct cmsghdr *cmsg,
 
 	/* 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 */


More information about the svn-src-head mailing list