diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
commit | a14d555c873398b14776ca4f2c33f9c69617afb9 (patch) | |
tree | 350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/systat | |
parent | f3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff) | |
download | FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'usr.bin/systat')
-rw-r--r-- | usr.bin/systat/disks.c | 2 | ||||
-rw-r--r-- | usr.bin/systat/fetch.c | 2 | ||||
-rw-r--r-- | usr.bin/systat/mbufs.c | 2 | ||||
-rw-r--r-- | usr.bin/systat/netstat.c | 8 | ||||
-rw-r--r-- | usr.bin/systat/pigs.c | 2 | ||||
-rw-r--r-- | usr.bin/systat/swap.c | 4 | ||||
-rw-r--r-- | usr.bin/systat/vmstat.c | 4 |
7 files changed, 12 insertions, 12 deletions
diff --git a/usr.bin/systat/disks.c b/usr.bin/systat/disks.c index a4153e9..f1ec4ab 100644 --- a/usr.bin/systat/disks.c +++ b/usr.bin/systat/disks.c @@ -58,7 +58,7 @@ static struct nlist namelist[] = { { "_dk_wpms" }, #if defined(hp300) || defined(luna68k) #define X_HPDINIT (X_DK_WPMS+1) - { "_hp_dinit" }, + { "_hp_dinit" }, #endif #if defined(i386) #define X_DK_NAMES (X_DK_WPMS+1) diff --git a/usr.bin/systat/fetch.c b/usr.bin/systat/fetch.c index 49b296c..ff69ac5 100644 --- a/usr.bin/systat/fetch.c +++ b/usr.bin/systat/fetch.c @@ -48,7 +48,7 @@ kvm_ckread(a, b, l) if (verbose) error("error reading kmem at %x\n", a); return (0); - } + } else return (1); } diff --git a/usr.bin/systat/mbufs.c b/usr.bin/systat/mbufs.c index 8056f45..ac4f73a 100644 --- a/usr.bin/systat/mbufs.c +++ b/usr.bin/systat/mbufs.c @@ -101,7 +101,7 @@ showmbufs() if (mb == 0) return; for (j = 0; j < wnd->maxy; j++) { - max = 0, index = -1; + max = 0, index = -1; for (i = 0; i < wnd->maxy; i++) if (mb->m_mtypes[i] > max) { max = mb->m_mtypes[i]; diff --git a/usr.bin/systat/netstat.c b/usr.bin/systat/netstat.c index cf39f2b..3e8ec4d 100644 --- a/usr.bin/systat/netstat.c +++ b/usr.bin/systat/netstat.c @@ -177,11 +177,11 @@ fetchnetstat() for (p = netcb.ni_forw; p != (struct netinfo *)&netcb; p = p->ni_forw) p->ni_seen = 0; if (protos&TCP) { - off = NPTR(X_TCB); + off = NPTR(X_TCB); istcp = 1; } else if (protos&UDP) { - off = NPTR(X_UDB); + off = NPTR(X_UDB); istcp = 0; } else { @@ -281,7 +281,7 @@ labelnetstat() mvwaddstr(wnd, 0, PROTO, "Proto"); mvwaddstr(wnd, 0, RCVCC, "Recv-Q"); mvwaddstr(wnd, 0, SNDCC, "Send-Q"); - mvwaddstr(wnd, 0, STATE, "(state)"); + mvwaddstr(wnd, 0, STATE, "(state)"); } void @@ -387,7 +387,7 @@ inetprint(in, port, proto) /* * Construct an Internet address representation. - * If the nflag has been supplied, give + * If the nflag has been supplied, give * numeric value, otherwise try for symbolic name. */ static char * diff --git a/usr.bin/systat/pigs.c b/usr.bin/systat/pigs.c index 4c49494..a8b06f1 100644 --- a/usr.bin/systat/pigs.c +++ b/usr.bin/systat/pigs.c @@ -209,7 +209,7 @@ fetchpigs() if (time == 0 || (pp->p_flag & P_INMEM) == 0) *pctp = 0; else - *pctp = ((double) pp->p_pctcpu / + *pctp = ((double) pp->p_pctcpu / fscale) / (1.0 - exp(time * lccpu)); } /* diff --git a/usr.bin/systat/swap.c b/usr.bin/systat/swap.c index 240767f..68375cb 100644 --- a/usr.bin/systat/swap.c +++ b/usr.bin/systat/swap.c @@ -179,7 +179,7 @@ fetchswap() /* * Swap space is split up among the configured disks. * The first dmmax blocks of swap space some from the - * first disk, the next dmmax blocks from the next, + * first disk, the next dmmax blocks from the next, * and so on. The list of free space joins adjacent * free blocks, ignoring device boundries. If we want * to keep track of this information per device, we'll @@ -249,7 +249,7 @@ showswap() npfree++; avail += xsize; } - /* + /* * If only one partition has been set up via swapon(8), we don't * need to bother with totals. */ diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c index ef3d882..2b26789 100644 --- a/usr.bin/systat/vmstat.c +++ b/usr.bin/systat/vmstat.c @@ -480,7 +480,7 @@ showkre() putint((nchtotal.ncs_goodhits + nchtotal.ncs_neghits), NAMEIROW + 2, NAMEICOL + 9, 9); #define nz(x) ((x) ? (x) : 1) - putfloat((nchtotal.ncs_goodhits+nchtotal.ncs_neghits) * + putfloat((nchtotal.ncs_goodhits+nchtotal.ncs_neghits) * 100.0 / nz(s.nchcount), NAMEIROW + 2, NAMEICOL + 19, 4, 0, 1); putint(nchtotal.ncs_pass2, NAMEIROW + 2, NAMEICOL + 23, 9); @@ -638,7 +638,7 @@ copyinfo(from, to) /* * time, wds, seek, and xfer are malloc'd so we have to - * save the pointers before the structure copy and then + * save the pointers before the structure copy and then * copy by hand. */ time = to->dk_time; wds = to->dk_wds; seek = to->dk_seek; |