summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpho <pho@FreeBSD.org>2015-10-16 12:16:35 +0000
committerpho <pho@FreeBSD.org>2015-10-16 12:16:35 +0000
commit68f48c5dee1151dcf082ec50b323bb5c7373463e (patch)
tree5115bd6f8dfee66099e64cb0be3bb4c528c2f5db
parent2560d3d5d7e8ad052f6c96d6b78371871de87e60 (diff)
downloadFreeBSD-src-68f48c5dee1151dcf082ec50b323bb5c7373463e.zip
FreeBSD-src-68f48c5dee1151dcf082ec50b323bb5c7373463e.tar.gz
Fix build with options DIAGNOSTIC.
Sponsored by: EMC / Isilon storage division In collaboration with: kib
-rw-r--r--sys/kern/vfs_cache.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index 48f7550..05dff4e 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -324,11 +324,9 @@ static SYSCTL_NODE(_debug, OID_AUTO, hashstat, CTLFLAG_RW, NULL,
static int
sysctl_debug_hashstat_rawnchash(SYSCTL_HANDLER_ARGS)
{
- int error;
struct nchashhead *ncpp;
struct namecache *ncp;
- int n_nchash;
- int count;
+ int i, error, n_nchash, *cntbuf;
retry:
n_nchash = nchash + 1; /* nchash is max index, not count */
OpenPOWER on IntegriCloud