diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 03:57:47 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 03:57:47 +0000 |
commit | 4f960dd75f181e9fa2edc44324f15f0ab5c64b37 (patch) | |
tree | 15a9c7203efd47ba6dde2896fdb6327dddd4547f /usr.sbin/slstat | |
parent | 30ef9631c5eac7f8254bd3d7ad274d34d9f518b8 (diff) | |
download | FreeBSD-src-4f960dd75f181e9fa2edc44324f15f0ab5c64b37.zip FreeBSD-src-4f960dd75f181e9fa2edc44324f15f0ab5c64b37.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'usr.sbin/slstat')
-rw-r--r-- | usr.sbin/slstat/slstat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/slstat/slstat.c b/usr.sbin/slstat/slstat.c index 87e9138..402c248 100644 --- a/usr.sbin/slstat/slstat.c +++ b/usr.sbin/slstat/slstat.c @@ -22,7 +22,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: slstat.c,v 1.2 1994/10/17 06:05:32 davidg Exp $"; +static char rcsid[] = "$Id: slstat.c,v 1.3 1994/11/19 13:57:21 jkh Exp $"; #endif #include <stdio.h> @@ -56,7 +56,7 @@ struct nlist nl[] = { { 0 } }; -#define INTERFACE_PREFIX "sl%d" +#define INTERFACE_PREFIX "sl%d" char interface[IFNAMSIZ]; const char *system = NULL; @@ -293,7 +293,7 @@ knlist(system, nl, errstr) if (kd == 0) /* kopen() must be called first */ abort(); - + if (kvm_nlist(nl) < 0 || nl[0].n_type == 0) { fprintf(stderr, "%s: %s: no namelist\n", errstr, system); return -1; |