From bbe715ec284de8dc26b3ff0d97b7f3c2824c19e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Fri, 18 Apr 2003 08:28:31 +0000 Subject: [PATCH] Print debug message if DllMain of a loaded DLL fails svn path=/trunk/; revision=4546 --- reactos/lib/ntdll/ldr/utils.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reactos/lib/ntdll/ldr/utils.c b/reactos/lib/ntdll/ldr/utils.c index 4715af52305..ed66e36b1fc 100644 --- a/reactos/lib/ntdll/ldr/utils.c +++ b/reactos/lib/ntdll/ldr/utils.c @@ -1,4 +1,4 @@ -/* $Id: utils.c,v 1.60 2003/03/17 23:05:07 gdalsnes Exp $ +/* $Id: utils.c,v 1.61 2003/04/18 08:28:31 gvg Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -417,7 +417,8 @@ LdrLoadDll (IN PWSTR SearchPath OPTIONAL, DLL_PROCESS_ATTACH, NULL)) { - DPRINT("NTDLL.LDR: DLL \"%wZ\" failed to initialize\n", + /* Do this as a DPRINT1 for now, until clean up and fail implemented */ + DPRINT1("NTDLL.LDR: DLL \"%wZ\" failed to initialize\n", &Module->BaseDllName); /* FIXME: should clean up and fail */ }