summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_fault.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-04-06 16:16:11 +0000
committerpeter <peter@FreeBSD.org>1997-04-06 16:16:11 +0000
commit07c3ab609e01384a5a78f9ecf2d24f7ad39dc87d (patch)
treee09c19519734f8fa347c0006603340b359cf5d37 /sys/vm/vm_fault.c
parent6b7b32a1b39fbac20a0c40476f06b478fe0ea5ae (diff)
downloadFreeBSD-src-07c3ab609e01384a5a78f9ecf2d24f7ad39dc87d.zip
FreeBSD-src-07c3ab609e01384a5a78f9ecf2d24f7ad39dc87d.tar.gz
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
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 92f9ae9..c96c42a 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);
OpenPOWER on IntegriCloud