From 68f48c5dee1151dcf082ec50b323bb5c7373463e Mon Sep 17 00:00:00 2001 From: pho Date: Fri, 16 Oct 2015 12:16:35 +0000 Subject: Fix build with options DIAGNOSTIC. Sponsored by: EMC / Isilon storage division In collaboration with: kib --- sys/kern/vfs_cache.c | 4 +--- 1 file changed, 1 insertion(+), 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 */ -- cgit v1.1