[3/4] msi: Improve some traces.

Hans Leidekker hans at codeweavers.com
Thu Jan 28 04:06:05 CST 2010


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

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 783acb4..af028c7 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -4492,7 +4492,7 @@ static UINT ITERATE_StartService(MSIRECORD *rec, LPVOID param)
     service = OpenServiceW(scm, name, SERVICE_START);
     if (!service)
     {
-        ERR("Failed to open service %s\n", debugstr_w(name));
+        ERR("Failed to open service %s (%u)\n", debugstr_w(name), GetLastError());
         goto done;
     }
 
@@ -4500,7 +4500,7 @@ static UINT ITERATE_StartService(MSIRECORD *rec, LPVOID param)
 
     if (!StartServiceW(service, numargs, vector))
     {
-        ERR("Failed to start service %s\n", debugstr_w(name));
+        ERR("Failed to start service %s (%u)\n", debugstr_w(name), GetLastError());
         goto done;
     }
 
-- 
1.6.3.3





More information about the wine-patches mailing list