captive_options module-loading generalized to be CORBA transportable
authorshort <>
Sat, 7 Jun 2003 07:20:52 +0000 (07:20 +0000)
committershort <>
Sat, 7 Jun 2003 07:20:52 +0000 (07:20 +0000)
ntoskrnl/dbg/print.c

index eec9496..eba04e6 100644 (file)
@@ -57,7 +57,7 @@ __asm__ ("\n\t.global _DbgService\n\t"
  */
 
 #ifdef LIBCAPTIVE
-extern gboolean captive_debug_messages;
+extern gboolean captive_get_debug_messages(void);
 #endif /* LIBCAPTIVE */
 
 ULONG 
@@ -68,7 +68,7 @@ DbgPrint(PCH Format, ...)
    va_list ap;
 
 #ifdef LIBCAPTIVE
-   if (!captive_debug_messages)
+   if (!captive_get_debug_messages())
       return 0;
 #endif /* LIBCAPTIVE */