ntoskrnl.exe: Be more verbose in MmGetSystemRoutineAddress.
authorAndré Hentschel <nerv@dawncrow.de>
Fri, 25 Feb 2011 16:50:44 +0000 (17:50 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 28 Feb 2011 14:34:55 +0000 (15:34 +0100)
dlls/ntoskrnl.exe/ntoskrnl.c

index 4f70b9879f54b2b8ba646073ce8d6f3d974d4d72..27c5f7a3bacae0a01bfff45c055b3c16a2615148 100644 (file)
@@ -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;
 }