summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2009-04-20 20:30:42 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2009-04-20 20:30:42 +0000
commit0e89c97a2852f01ca9533300a7e40e30a905daec (patch)
tree363ef4910833b63ec8a674b620c4e717959dab7b /usr.bin
parent10098c91e5bdd14bc2176851696e3ffa7bec5287 (diff)
remove unneeded argument to warnx()
remove unused variable kill some extra blank lines ok canacar@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/systat/mbufs.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/usr.bin/systat/mbufs.c b/usr.bin/systat/mbufs.c
index 4897366653e..3a48563d107 100644
--- a/usr.bin/systat/mbufs.c
+++ b/usr.bin/systat/mbufs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbufs.c,v 1.23 2009/03/29 21:51:54 kettenis Exp $ */
+/* $OpenBSD: mbufs.c,v 1.24 2009/04/20 20:30:41 chl Exp $ */
/*
* Copyright (c) 2008 Can Erkin Acar <canacar@openbsd.org>
*
@@ -145,7 +145,7 @@ initmembufs(void)
continue;
if (mclpool_count == MCLPOOLS) {
- warnx("mbufs: Too many mcl* pools", i);
+ warnx("mbufs: Too many mcl* pools");
break;
}
@@ -336,8 +336,6 @@ print_mb(void)
static void
showmbuf(struct if_info *ifi, int p, int showif)
{
- int i;
-
if (showif)
print_fld_str(FLD_MB_IFACE, ifi->name);
@@ -347,8 +345,6 @@ showmbuf(struct if_info *ifi, int p, int showif)
print_fld_size(FLD_MB_MHWM, mbpool.pr_hiwat);
}
-
-
#if NOTYET
print_fld_uint(FLD_MB_RXDELAY, ifi->data.ifi_rxdelay);
print_fld_uint(FLD_MB_TXDELAY, ifi->data.ifi_txdelay);
@@ -371,5 +367,3 @@ showmbuf(struct if_info *ifi, int p, int showif)
end_line();
}
-
-