summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchl <chl@openbsd.org>2009-04-20 20:30:41 +0000
committerchl <chl@openbsd.org>2009-04-20 20:30:41 +0000
commit0e3f3d5b79e99fb298f240a2af01bd5f6daaa511 (patch)
treeb40fd36e3e5f57c7a65bb13f5e8276ddbc5ef0cd
parentfixed style, no binary change (diff)
downloadwireguard-openbsd-0e3f3d5b79e99fb298f240a2af01bd5f6daaa511.tar.xz
wireguard-openbsd-0e3f3d5b79e99fb298f240a2af01bd5f6daaa511.zip
remove unneeded argument to warnx()
remove unused variable kill some extra blank lines ok canacar@
-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();
}
-
-