Michael Stefaniuc : dplayx: Print the debug string and not the pointer to it.

Alexandre Julliard julliard at winehq.org
Mon Mar 26 12:29:31 CDT 2012


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Mar 21 23:34:50 2012 +0100

dplayx: Print the debug string and not the pointer to it.

---

 dlls/dplayx/dpclassfactory.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/dplayx/dpclassfactory.c b/dlls/dplayx/dpclassfactory.c
index d14169d..c0842b0 100644
--- a/dlls/dplayx/dpclassfactory.c
+++ b/dlls/dplayx/dpclassfactory.c
@@ -128,7 +128,7 @@ static IClassFactoryImpl DP_and_DPL_CF = {{&DP_and_DPL_Vtbl}, 1 };
  */
 HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
 {
-    TRACE("(%p,%p,%p)\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
+    TRACE("(%s,%s,%p)\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
 
     if ( IsEqualCLSID( riid, &IID_IClassFactory ) )
     {
@@ -138,6 +138,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
         return S_OK;
     }
 
-    ERR("(%p,%p,%p): no interface found.\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
+    ERR("(%s,%s,%p): no interface found.\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
     return CLASS_E_CLASSNOTAVAILABLE;
 }




More information about the wine-cvs mailing list