diff --git a/reactos/ntoskrnl/mm/section.c b/reactos/ntoskrnl/mm/section.c index efb0ee38204..953a032a015 100644 --- a/reactos/ntoskrnl/mm/section.c +++ b/reactos/ntoskrnl/mm/section.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: section.c,v 1.149 2004/05/01 17:11:34 tamlin Exp $ +/* $Id: section.c,v 1.150 2004/05/30 12:55:11 hbirr Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/mm/section.c @@ -1978,7 +1978,7 @@ MmAlterViewAttributes(PMADDRESS_SPACE AddressSpace, if (MmIsPagePresent(AddressSpace->Process, Address)) { - MmSetPageProtect(AddressSpace->Process, BaseAddress, + MmSetPageProtect(AddressSpace->Process, Address, Protect); } }