Hans Leidekker : msi: Improve some traces.

Alexandre Julliard julliard at winehq.org
Thu Jan 28 11:15:38 CST 2010


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Thu Jan 28 11:06:05 2010 +0100

msi: Improve some traces.

---

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




More information about the wine-cvs mailing list