mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
advapi32/tests: Use already existing static string instead of literal.
This commit is contained in:
parent
065470ed62
commit
087ff0644f
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ static void test_open_svc(void)
|
|||
/* Proper SCM handle but different access rights */
|
||||
scm_handle = OpenSCManagerA(NULL, NULL, SC_MANAGER_CONNECT);
|
||||
SetLastError(0xdeadbeef);
|
||||
svc_handle = OpenServiceA(scm_handle, "Spooler", GENERIC_WRITE);
|
||||
svc_handle = OpenServiceA(scm_handle, spooler, GENERIC_WRITE);
|
||||
if (!svc_handle && (GetLastError() == ERROR_ACCESS_DENIED))
|
||||
skip("Not enough rights to get a handle to the service\n");
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue