summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
commita14d555c873398b14776ca4f2c33f9c69617afb9 (patch)
tree350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/netstat
parentf3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff)
downloadFreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip
FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r--usr.bin/netstat/main.c2
-rw-r--r--usr.bin/netstat/route.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c
index ac2287d..5e59f37 100644
--- a/usr.bin/netstat/main.c
+++ b/usr.bin/netstat/main.c
@@ -261,7 +261,7 @@ main(argc, argv)
break;
case 'p':
if ((tp = name2protox(optarg)) == NULL) {
- errx(1,
+ errx(1,
"%s: unknown or uninstrumented protocol",
optarg);
}
diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c
index 7e6fa3a..ebb442a 100644
--- a/usr.bin/netstat/route.c
+++ b/usr.bin/netstat/route.c
@@ -36,7 +36,7 @@
static char sccsid[] = "From: @(#)route.c 8.3 (Berkeley) 3/9/94";
#endif
static const char rcsid[] =
- "$Id: route.c,v 1.3 1995/01/23 20:19:16 wollman Exp $";
+ "$Id: route.c,v 1.4 1995/04/06 06:09:44 jkh Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -480,13 +480,13 @@ p_rtentry(rt)
if(rt->rt_rmx.rmx_expire) {
time_t expire_time;
- if ((expire_time
+ if ((expire_time
=rt->rt_rmx.rmx_expire - time((time_t *)0)) > 0)
printf(" %8.8s %6d%s", prettyname,
expire_time,
rt->rt_nodes[0].rn_dupedkey ? " =>" : "");
} else {
- printf(" %8.8s%s", prettyname,
+ printf(" %8.8s%s", prettyname,
rt->rt_nodes[0].rn_dupedkey ? " =>" : "");
}
OpenPOWER on IntegriCloud