[NTDLL]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 2 May 2010 23:26:06 +0000 (23:26 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 2 May 2010 23:26:06 +0000 (23:26 +0000)
The harderror message for STATUS_DLL_NOT_FOUND expects an ANSI dll name.

svn path=/trunk/; revision=47088

reactos/dll/ntdll/ldr/utils.c

index 9dcb999..1451219 100644 (file)
@@ -1518,7 +1518,7 @@ LdrpGetOrLoadModule(PWCHAR SearchPath,
        if (!NT_SUCCESS(Status))
          {
            ULONG ErrorResponse;
-           ULONG_PTR ErrorParameter = (ULONG_PTR)&DllName;
+           ULONG_PTR ErrorParameter = (ULONG_PTR)&AnsiDllName;
 
            DPRINT1("failed to load %wZ\n", &DllName);