André Hentschel : ntoskrnl.exe: Be more verbose in MmGetSystemRoutineAddress.

Alexandre Julliard julliard at winehq.org
Mon Feb 28 11:02:13 CST 2011


Module: wine
Branch: master
Commit: 13fc9ce134f86b19814ba1fea494d73d5b853034
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=13fc9ce134f86b19814ba1fea494d73d5b853034

Author: André Hentschel <nerv at dawncrow.de>
Date:   Fri Feb 25 17:50:44 2011 +0100

ntoskrnl.exe: Be more verbose in MmGetSystemRoutineAddress.

---

 dlls/ntoskrnl.exe/ntoskrnl.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index 4f70b98..27c5f7a 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -1523,7 +1523,10 @@ PVOID WINAPI MmGetSystemRoutineAddress(PUNICODE_STRING SystemRoutineName)
         RtlFreeAnsiString( &routineNameA );
     }
 
-    TRACE( "%s -> %p\n", debugstr_us(SystemRoutineName), pFunc );
+    if (pFunc)
+        TRACE( "%s -> %p\n", debugstr_us(SystemRoutineName), pFunc );
+    else
+        FIXME( "%s not found\n", debugstr_us(SystemRoutineName) );
     return pFunc;
 }
 




More information about the wine-cvs mailing list