Mike McCormack : advapi32: If we can't connect to a service's pipe, name the service in

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jan 10 14:13:51 CST 2006


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

Author: Mike McCormack <mike at codeweavers.com>
Date:   Tue Jan 10 12:10:34 2006 +0100

advapi32: If we can't connect to a service's pipe, name the service in
the error message.

---

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

diff --git a/dlls/advapi32/service.c b/dlls/advapi32/service.c
index 60d0f8d..1db25d7 100644
--- a/dlls/advapi32/service.c
+++ b/dlls/advapi32/service.c
@@ -653,7 +653,8 @@ static DWORD WINAPI service_control_disp
 
     if (pipe==INVALID_HANDLE_VALUE)
     {
-        ERR("failed to create pipe, error = %ld\n", GetLastError());
+        ERR("failed to create pipe for %s, error = %ld\n",
+            debugstr_w(service->name), GetLastError());
         return 0;
     }
 




More information about the wine-cvs mailing list