diff options
author | glebius <glebius@FreeBSD.org> | 2014-11-24 07:57:20 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2014-11-24 07:57:20 +0000 |
commit | 5e67a4071dbbd7a8f227c62e539f0e10aea43c93 (patch) | |
tree | 5b0aec389af8b6a4fa0edf23751af20e125ddca6 /sys | |
parent | c08cf8d6719bd57f279fda679eae412dbeb25046 (diff) | |
download | FreeBSD-src-5e67a4071dbbd7a8f227c62e539f0e10aea43c93.zip FreeBSD-src-5e67a4071dbbd7a8f227c62e539f0e10aea43c93.tar.gz |
We already have "int i" in this scope.
Submitted by: alc
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/vnode_pager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index 1178b14..3695d23 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -994,7 +994,7 @@ vnode_pager_generic_getpages(struct vnode *vp, vm_page_t *m, int bytecount, bstrategy(bp); bwait(bp, PVM, "vnread"); error = vnode_pager_generic_getpages_done(bp); - for (int i = 0; i < bp->b_npages; i++) + for (i = 0; i < bp->b_npages; i++) bp->b_pages[i] = NULL; bp->b_vp = NULL; pbrelbo(bp); |