diff --git a/reactos/ntoskrnl/ldr/loader.c b/reactos/ntoskrnl/ldr/loader.c index c0e5f00a15e..d76e0482431 100644 --- a/reactos/ntoskrnl/ldr/loader.c +++ b/reactos/ntoskrnl/ldr/loader.c @@ -1,4 +1,4 @@ -/* $Id: loader.c,v 1.98 2002/02/10 13:35:37 chorns Exp $ +/* $Id: loader.c,v 1.99 2002/02/12 12:30:46 jfilby Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -173,7 +173,7 @@ LdrInit1(VOID) VOID LdrInitModuleManagement(VOID) { - HANDLE DirHandle, ModuleHandle; + HANDLE DirHandle, ModuleHandle; NTSTATUS Status; WCHAR NameBuffer[60]; UNICODE_STRING ModuleName; @@ -948,10 +948,6 @@ VOID LdrLoadAutoConfigDrivers (VOID) */ LdrLoadAutoConfigDriver(L"vidport.sys"); - /* - * - */ - LdrLoadAutoConfigDriver(L"vgamp.sys"); #if 0 /* * Minix filesystem driver @@ -2249,7 +2245,7 @@ LdrSafePEGetExportAddress( } else /* use hint */ { - ExportAddress = (PVOID) ((DWORD)ImportModuleBase + + ExportAddress = (PVOID) ((DWORD)ImportModuleBase + FunctionList[Hint - ExportDir->Base]); }