Fixed a minor bug in MmAllocateSection().

svn path=/trunk/; revision=2292
This commit is contained in:
Hartmut Birr 2001-10-10 22:40:36 +00:00
parent 78869da85f
commit ef4b8d4947

View file

@ -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.62 2001/09/25 19:52:28 dwelch Exp $
/* $Id: section.c,v 1.63 2001/10/10 22:40:36 hbirr Exp $
*
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/mm/section.c
@ -2200,7 +2200,7 @@ MmAllocateSection (IN ULONG Length)
0,
&marea,
FALSE);
if (!NT_SUCCESS(STATUS_SUCCESS))
if (!NT_SUCCESS(Status))
{
MmUnlockAddressSpace(AddressSpace);
return (NULL);