summaryrefslogtreecommitdiffstats
path: root/usr.bin/vmstat/vmstat.c
diff options
context:
space:
mode:
authorchl <chl@openbsd.org>2010-08-01 02:51:03 +0000
committerchl <chl@openbsd.org>2010-08-01 02:51:03 +0000
commit94687cf576bd865eb144d34d0169ae9da0626f99 (patch)
treeef538e84930df6e2ebede0bd45af49822a4f92c1 /usr.bin/vmstat/vmstat.c
parentadd missing header needed by strcmp() (diff)
downloadwireguard-openbsd-94687cf576bd865eb144d34d0169ae9da0626f99.tar.xz
wireguard-openbsd-94687cf576bd865eb144d34d0169ae9da0626f99.zip
remove unused variable
ok thib@
Diffstat (limited to 'usr.bin/vmstat/vmstat.c')
-rw-r--r--usr.bin/vmstat/vmstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index 0246d749120..beb62411da4 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -1,5 +1,5 @@
/* $NetBSD: vmstat.c,v 1.29.4.1 1996/06/05 00:21:05 cgd Exp $ */
-/* $OpenBSD: vmstat.c,v 1.116 2010/07/22 17:31:39 thib Exp $ */
+/* $OpenBSD: vmstat.c,v 1.117 2010/08/01 02:51:03 chl Exp $ */
/*
* Copyright (c) 1980, 1986, 1991, 1993
@@ -988,7 +988,7 @@ dopool(void)
void
dopool_sysctl(void)
{
- int mib[4], npools, i, kmfp;
+ int mib[4], npools, i;
long total = 0, inuse = 0;
struct pool pool;
size_t size;