[PATCH 2/4] hidparse.sys: Use +hid debug channel.

Rémi Bernon rbernon at codeweavers.com
Tue Nov 9 02:51:09 CST 2021


Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
 dlls/hidparse.sys/main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/hidparse.sys/main.c b/dlls/hidparse.sys/main.c
index d455049d9b1..c07389044fd 100644
--- a/dlls/hidparse.sys/main.c
+++ b/dlls/hidparse.sys/main.c
@@ -35,7 +35,7 @@
 #include "wine/list.h"
 #include "wine/debug.h"
 
-WINE_DEFAULT_DEBUG_CHANNEL(hidp);
+WINE_DEFAULT_DEBUG_CHANNEL(hid);
 
 /* Flags that are defined in the document
    "Device Class Definition for Human Interface Devices" */
@@ -122,7 +122,7 @@ static void debug_print_preparsed( struct hid_preparsed_data *data )
 {
     unsigned int i, end;
 
-    if (TRACE_ON( hidp ))
+    if (TRACE_ON(hid))
     {
         TRACE( "usage %02x:%02x input %u-(%u)-%u, report len %u output %u-(%u)-%u, report len %u "
                "feature %u-(%u)-%u, report len %u collections %u\n", data->usage_page, data->usage,
@@ -498,7 +498,7 @@ struct hid_preparsed_data *parse_descriptor( BYTE *descriptor, unsigned int leng
     BYTE *ptr, *end;
     int i;
 
-    if (TRACE_ON( hidp ))
+    if (TRACE_ON(hid))
     {
         TRACE( "descriptor %p, length %u:\n", descriptor, length );
         for (i = 0; i < length;)
-- 
2.33.1




More information about the wine-devel mailing list