[Wine-devel] wineusbhub: fix trace

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Чт Июн 19 17:19:59 MSD 2008


----------- следующая часть -----------
From d93c4f7b1100b3b8de1aa5dda6ff2abd3204e9f0 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на builder.office.etersoft.ru>
Date: Thu, 19 Jun 2008 16:20:50 +0400
Subject: [PATCH] wineusbhub: fix trace

---
 dlls/wineusbhub/wineusbhub.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/wineusbhub/wineusbhub.c b/dlls/wineusbhub/wineusbhub.c
index 1ca16ac..62f1c5d 100644
--- a/dlls/wineusbhub/wineusbhub.c
+++ b/dlls/wineusbhub/wineusbhub.c
@@ -307,7 +307,8 @@ DEVICE_OBJECT *__wine_usbhub_get_pdo( UCHAR *pdo_info )
     UNICODE_STRING pdo_name;
     struct usb_bus *bus;
 
-    TRACE( "%s\n", pdo_info );
+    TRACE( "%u, %s, %s\n", pdo_info[0], pdo_info + 1,
+            pdo_info + 2 + strlen( (char *)(pdo_info + 1) ) );
 
     for (bus = usb_busses; bus; bus = bus->next)
         for (dev = bus->devices; dev; dev = dev->next)
-- 
1.5.4.5.GIT



Подробная информация о списке рассылки Wine-devel