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 */
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to