Rémi Bernon : hidparse.sys: Use +hid debug channel.

Alexandre Julliard julliard at winehq.org
Tue Nov 9 15:55:05 CST 2021


Module: wine
Branch: master
Commit: e9dc0cf83a318c75b22129a4a0cda3dc754d9d4e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e9dc0cf83a318c75b22129a4a0cda3dc754d9d4e

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Tue Nov  9 09:51:09 2021 +0100

hidparse.sys: Use +hid debug channel.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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;)




More information about the wine-cvs mailing list