svn commit: r315690 - head/sbin/route
Ngie Cooper
ngie at FreeBSD.org
Tue Mar 21 22:00:54 UTC 2017
Author: ngie
Date: Tue Mar 21 22:00:52 2017
New Revision: 315690
URL: https://svnweb.freebsd.org/changeset/base/315690
Log:
Delete trailing whitespace (no functional change)
MFC after: 3 days
Sponsored by: Dell EMC Isilon
Modified:
head/sbin/route/route.c
Modified: head/sbin/route/route.c
==============================================================================
--- head/sbin/route/route.c Tue Mar 21 21:07:37 2017 (r315689)
+++ head/sbin/route/route.c Tue Mar 21 22:00:52 2017 (r315690)
@@ -288,7 +288,7 @@ fiboptlist_range(const char *arg, struct
if (errno == 0) {
if (*endptr != '\0' ||
fib[i] < 0 ||
- (numfibs != -1 && fib[i] > numfibs - 1))
+ (numfibs != -1 && fib[i] > numfibs - 1))
errno = EINVAL;
}
if (errno)
@@ -1136,7 +1136,7 @@ inet_makenetandmask(u_long net, struct s
j <<= 8;
}
/* i holds the first non zero bit */
- bits = 32 - (i*8);
+ bits = 32 - (i*8);
}
if (bits != 0)
mask = 0xffffffff << (32 - bits);
@@ -1356,7 +1356,7 @@ prefixlen(const char *str)
int max;
char *p;
- rtm_addrs |= RTA_NETMASK;
+ rtm_addrs |= RTA_NETMASK;
switch (af) {
#ifdef INET6
case AF_INET6:
@@ -1390,7 +1390,7 @@ prefixlen(const char *str)
if (len < 0 || max < len)
errx(EX_USAGE, "%s: invalid prefixlen", str);
-
+
q = len >> 3;
r = len & 7;
memset((void *)p, 0, max / 8);
More information about the svn-src-head
mailing list