aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_fault.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1997-04-06 16:16:11 +0000
committerPeter Wemm <peter@FreeBSD.org>1997-04-06 16:16:11 +0000
commit2100d6458585518c26096b9322550ab0f950f19e (patch)
tree7d7cad32c9894a1817cccda62d741ee3ec58aee7 /sys/vm/vm_fault.c
parent2f29db88837a48ddeef70e52d094afc8df14e8cc (diff)
downloadsrc-2100d6458585518c26096b9322550ab0f950f19e.tar.gz
src-2100d6458585518c26096b9322550ab0f950f19e.zip
Commit a typo fix that's been sitting in my tree for ages, quite forgotten.
The typo was detected once apon a time with the -Wunused compile option. The result was that a block of code for implementing madvise(.. MADV_SEQUENTIAL..) behavior was "dead" and unused, probably negating the effect of activating the option. Reviewed by: dyson
Notes
Notes: svn path=/head/; revision=24678
Diffstat (limited to 'sys/vm/vm_fault.c')
-rw-r--r--sys/vm/vm_fault.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c
index 92f9ae9d1a3f..c96c42a4db85 100644
--- a/sys/vm/vm_fault.c
+++ b/sys/vm/vm_fault.c
@@ -66,7 +66,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_fault.c,v 1.66 1997/02/22 09:48:15 peter Exp $
+ * $Id: vm_fault.c,v 1.67 1997/04/06 02:29:41 dyson Exp $
*/
/*
@@ -378,7 +378,7 @@ readrest:
2*(VM_FAULT_READ_BEHIND + VM_FAULT_READ_AHEAD + 1);
for(tmppindex = first_pindex - 1;
- tmppindex >= first_pindex;
+ tmppindex >= firstpindex;
--tmppindex) {
vm_page_t mt;
mt = vm_page_lookup( first_object, tmppindex);