diff options
author | 2009-06-06 17:52:39 +0000 | |
---|---|---|
committer | 2009-06-06 17:52:39 +0000 | |
commit | d2f3a4c4c2320af2fff4cb0b3fd2d2294546cd50 (patch) | |
tree | ab3dfcfbb83c1e0c90b95c769be79bff316663fb | |
parent | Since all callers of uvm_pagedeactivate did pmap_page_protect(.., VM_PROT_NONE) (diff) | |
download | wireguard-openbsd-d2f3a4c4c2320af2fff4cb0b3fd2d2294546cd50.tar.xz wireguard-openbsd-d2f3a4c4c2320af2fff4cb0b3fd2d2294546cd50.zip |
- remove unused macro from iostat.c
- minor space nit in engine.c
ok canacar@
-rw-r--r-- | usr.bin/systat/engine.c | 6 | ||||
-rw-r--r-- | usr.bin/systat/iostat.c | 9 |
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) { |