svn commit: r289418 - stable/10/sys/kern
Peter Holm
pho at FreeBSD.org
Fri Oct 16 12:16:36 UTC 2015
Author: pho
Date: Fri Oct 16 12:16:35 2015
New Revision: 289418
URL: https://svnweb.freebsd.org/changeset/base/289418
Log:
Fix build with options DIAGNOSTIC.
Sponsored by: EMC / Isilon storage division
In collaboration with: kib
Modified:
stable/10/sys/kern/vfs_cache.c
Modified: stable/10/sys/kern/vfs_cache.c
==============================================================================
--- stable/10/sys/kern/vfs_cache.c Fri Oct 16 10:26:15 2015 (r289417)
+++ stable/10/sys/kern/vfs_cache.c Fri Oct 16 12:16:35 2015 (r289418)
@@ -324,11 +324,9 @@ static SYSCTL_NODE(_debug, OID_AUTO, has
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 */
More information about the svn-src-stable-10
mailing list