summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-06-06 17:52:40 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-06-06 17:52:40 +0000
commit34fe98751844589de34ce4f031ccea5ab9f2db10 (patch)
tree8fe7659e887b759d16f40460117c87a1703c25ae /usr.bin
parente4d12862f7f76c8ed57d8579930e566bce6a2228 (diff)
- remove unused macro from iostat.c
- minor space nit in engine.c ok canacar@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/systat/engine.c6
-rw-r--r--usr.bin/systat/iostat.c9
2 files changed, 4 insertions, 11 deletions
diff --git a/usr.bin/systat/engine.c b/usr.bin/systat/engine.c
index 27c0b59a028..13954d933f0 100644
--- a/usr.bin/systat/engine.c
+++ b/usr.bin/systat/engine.c
@@ -1,4 +1,4 @@
-/* $Id: engine.c,v 1.8 2009/06/04 14:48:07 canacar Exp $ */
+/* $Id: engine.c,v 1.9 2009/06/06 17:52:39 jasper Exp $ */
/*
* Copyright (c) 2001, 2007 Can Erkin Acar <canacar@openbsd.org>
*
@@ -658,12 +658,12 @@ print_fld_age(field_def *fld, unsigned int age)
if (tbprintf("%ud", age) <= len)
goto ok;
- err:
+err:
print_fld_str(fld, "*");
tb_end();
return;
- ok:
+ok:
print_fld_tb(fld);
}
diff --git a/usr.bin/systat/iostat.c b/usr.bin/systat/iostat.c
index 00126b0bbf2..32e24874674 100644
--- a/usr.bin/systat/iostat.c
+++ b/usr.bin/systat/iostat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iostat.c,v 1.35 2008/12/07 02:56:06 canacar Exp $ */
+/* $OpenBSD: iostat.c,v 1.36 2009/06/06 17:52:39 jasper Exp $ */
/* $NetBSD: iostat.c,v 1.5 1996/05/10 23:16:35 thorpej Exp $ */
/*
@@ -217,13 +217,6 @@ showdrive(int dn)
end_line();
}
-
-#define ENDLINE do { \
- count++; \
- if (maxprint > 0 && count >= maxprint) \
- return; \
- } while(0)
-
void
showbcache(void)
{