aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2006-04-30 05:54:21 +0000
committerBruce Evans <bde@FreeBSD.org>2006-04-30 05:54:21 +0000
commit43f2757a27453d06b461c94da6344f4da69d69a9 (patch)
tree9c45d2c6365aa0c214fbf86d6650d85b8c9e4614 /usr.bin
parente1300711b833966f5ccccc5107a26caf0d017903 (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/systat/vmstat.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c
index 4e0d59bd1fee..a836fce25a1b 100644
--- a/usr.bin/systat/vmstat.c
+++ b/usr.bin/systat/vmstat.c
@@ -696,6 +696,11 @@ putint(n, l, lc, w)
char b[128];
move(l, lc);
+#ifdef DEBUG
+ while (w-- > 0)
+ addch('*');
+ return;
+#endif
if (n == 0) {
while (w-- > 0)
addch(' ');
@@ -723,6 +728,11 @@ putfloat(f, l, lc, w, d, nz)
char b[128];
move(l, lc);
+#ifdef DEBUG
+ while (--w >= 0)
+ addch('*');
+ return;
+#endif
if (nz && f == 0.0) {
while (--w >= 0)
addch(' ');
@@ -748,6 +758,11 @@ putlongdouble(f, l, lc, w, d, nz)
char b[128];
move(l, lc);
+#ifdef DEBUG
+ while (--w >= 0)
+ addch('*');
+ return;
+#endif
if (nz && f == 0.0) {
while (--w >= 0)
addch(' ');