summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-31 18:19:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-31 18:19:45 +0000
commita873e9155b65a723a628484bc434c3f5c2a1032f (patch)
tree39e2b5fb55ad9704ea73ee765e8b9ed2d47ee88c /usr.bin
parent025172ee1e10376391e43cc728bbcfc0b0b384d8 (diff)
spacing
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/systat/if.c4
-rw-r--r--usr.bin/systat/vmstat.c6
-rw-r--r--usr.bin/vmstat/dkstats.c14
-rw-r--r--usr.bin/vmstat/vmstat.c12
4 files changed, 18 insertions, 18 deletions
diff --git a/usr.bin/systat/if.c b/usr.bin/systat/if.c
index c16c5e3e389..ca817eea3b2 100644
--- a/usr.bin/systat/if.c
+++ b/usr.bin/systat/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.5 2006/03/31 04:10:59 deraadt Exp $ */
+/* $OpenBSD: if.c,v 1.6 2006/03/31 18:19:44 deraadt Exp $ */
/*
* Copyright (c) 2004 Markus Friedl <markus@openbsd.org>
*
@@ -193,7 +193,7 @@ labelifstat(void)
}
#define FMT "%-10.10s %10lu %10lu %6lu %10lu %10lu %6lu %6lu "
-
+
void
showifstat(void)
{
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c
index 40541311661..775f45fd921 100644
--- a/usr.bin/systat/vmstat.c
+++ b/usr.bin/systat/vmstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmstat.c,v 1.57 2006/03/31 04:10:59 deraadt Exp $ */
+/* $OpenBSD: vmstat.c,v 1.58 2006/03/31 18:19:44 deraadt Exp $ */
/* $NetBSD: vmstat.c,v 1.5 1996/05/10 23:16:40 thorpej Exp $ */
/*-
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 1/12/94";
#endif
-static char rcsid[] = "$OpenBSD: vmstat.c,v 1.57 2006/03/31 04:10:59 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: vmstat.c,v 1.58 2006/03/31 18:19:44 deraadt Exp $";
#endif /* not lint */
/*
@@ -185,7 +185,7 @@ initkre(void)
for (i = 0; i < nintr; i++) {
char name[128];
-
+
mib[0] = CTL_KERN;
mib[1] = KERN_INTRCNT;
mib[2] = KERN_INTRCNT_NAME;
diff --git a/usr.bin/vmstat/dkstats.c b/usr.bin/vmstat/dkstats.c
index e566f930934..0a49f8e0002 100644
--- a/usr.bin/vmstat/dkstats.c
+++ b/usr.bin/vmstat/dkstats.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dkstats.c,v 1.29 2006/03/31 04:06:13 deraadt Exp $ */
+/* $OpenBSD: dkstats.c,v 1.30 2006/03/31 18:19:38 deraadt Exp $ */
/* $NetBSD: dkstats.c,v 1.1 1996/05/10 23:19:27 thorpej Exp $ */
/*
@@ -75,7 +75,7 @@ static struct nlist namelist[] = {
}
/*
- * Dereference the namelist pointer `v' and fill in the local copy
+ * Dereference the namelist pointer `v' and fill in the local copy
* 'p' which is of size 's'.
*/
#define deref_nl(v, p, s) deref_kptr((void *)namelist[(v)].n_value, (p), (s));
@@ -98,7 +98,7 @@ static struct disk *dk_drivehead = NULL;
#endif
/* Backward compatibility references. */
-int dk_ndrive = 0;
+int dk_ndrive = 0;
int *dk_select;
char **dr_name;
@@ -156,7 +156,7 @@ dkswap(void)
}
/*
- * Read the disk statistics for each disk in the disk list.
+ * Read the disk statistics for each disk in the disk list.
* Also collect statistics for tty i/o and cpu ticks.
*/
void
@@ -351,7 +351,7 @@ dkreadstats(void)
}
free(q);
- size = sizeof(cur.cp_time);
+ size = sizeof(cur.cp_time);
mib[0] = CTL_KERN;
mib[1] = KERN_CPTIME;
if (sysctl(mib, 2, cur.cp_time, &size, NULL, 0) < 0) {
@@ -490,7 +490,7 @@ dkinit(int sel)
last.dk_wbytes = calloc((size_t)cur.dk_ndrive, sizeof(u_int64_t));
cur.dk_select = calloc((size_t)cur.dk_ndrive, sizeof(int));
cur.dk_name = calloc((size_t)cur.dk_ndrive, sizeof(char *));
-
+
if (!cur.dk_time || !cur.dk_rxfer || !cur.dk_wxfer || !cur.dk_seek ||
!cur.dk_rbytes || !cur.dk_wbytes || !last.dk_time ||
!last.dk_rxfer || !last.dk_wxfer || !last.dk_seek ||
@@ -544,7 +544,7 @@ dkinit(int sel)
#if !defined(NOKVM)
/*
- * Dereference the kernel pointer `kptr' and fill in the local copy
+ * Dereference the kernel pointer `kptr' and fill in the local copy
* pointed to by `ptr'. The storage space must be pre-allocated,
* and the size of the copy passed in `len'.
*/
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index 6e6c09a6ce9..e64984c2f99 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -1,5 +1,5 @@
/* $NetBSD: vmstat.c,v 1.29.4.1 1996/06/05 00:21:05 cgd Exp $ */
-/* $OpenBSD: vmstat.c,v 1.102 2006/03/31 04:06:13 deraadt Exp $ */
+/* $OpenBSD: vmstat.c,v 1.103 2006/03/31 18:19:38 deraadt Exp $ */
/*
* Copyright (c) 1980, 1986, 1991, 1993
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)vmstat.c 8.1 (Berkeley) 6/6/93";
#else
-static const char rcsid[] = "$OpenBSD: vmstat.c,v 1.102 2006/03/31 04:06:13 deraadt Exp $";
+static const char rcsid[] = "$OpenBSD: vmstat.c,v 1.103 2006/03/31 18:19:38 deraadt Exp $";
#endif
#endif /* not lint */
@@ -271,7 +271,7 @@ main(int argc, char *argv[])
interval = (u_int)strtonum(*argv, 0, 1000, &errstr);
if (errstr)
err(1, "-w %s: %s\n", optarg, errstr);
-
+
if (*++argv)
reps = atoi(*argv);
}
@@ -512,7 +512,7 @@ dotimes(void)
uvmexp.pageins, pgintime / 10);
if (uvmexp.pageins != 0)
(void)printf("average: %8.1f msec / page in\n",
- pgintime / (uvmexp.pageins * 10.0));
+ pgintime / (uvmexp.pageins * 10.0));
}
int
@@ -868,7 +868,7 @@ domem(void)
mib[3] = i;
siz = sizeof(struct kmemstats);
- /*
+ /*
* Skip errors -- these are presumed to be unallocated
* entries.
*/
@@ -1003,7 +1003,7 @@ print_pool(struct pool *pp, char *name)
PRWORD(ovflw, " %*d", 6, 1, pp->pr_hiwat);
PRWORD(ovflw, " %*d", 6, 1, pp->pr_minpages);
PRWORD(ovflw, " %*s", 6, 1, maxp);
- PRWORD(ovflw, " %*lu\n", 5, 1, pp->pr_nidle);
+ PRWORD(ovflw, " %*lu\n", 5, 1, pp->pr_nidle);
}
static void dopool_kvm(void);