From 07c3ab609e01384a5a78f9ecf2d24f7ad39dc87d Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 6 Apr 1997 16:16:11 +0000 Subject: [PATCH] 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 --- sys/vm/vm_fault.c | 4 ++-- 1 file 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 @@ RetryFault:; 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);