[advapi32] Print the used name when failing to open a control pipe

svn path=/trunk/; revision=44544
This commit is contained in:
Gregor Schneider 2009-12-12 12:57:46 +00:00
parent c7e5f8e26f
commit c0d4619777

View file

@ -237,7 +237,7 @@ ScConnectControlPipe(HANDLE *hPipe)
NULL);
if (*hPipe == INVALID_HANDLE_VALUE)
{
ERR("CreateFileW() failed (Error %lu)\n", GetLastError());
ERR("CreateFileW() failed for pipe %S (Error %lu)\n", NtControlPipeName, GetLastError());
return ERROR_FAILED_SERVICE_CONTROLLER_CONNECT;
}