Fix for NT4 behaviour.
This commit is contained in:
parent
5054c79880
commit
30af06f788
|
@ -289,7 +289,7 @@ static void test_lookupPrivilegeName(void)
|
|||
luid.LowPart = i;
|
||||
cchName = sizeof(buf);
|
||||
ret = pLookupPrivilegeNameA(NULL, &luid, buf, &cchName);
|
||||
ok( ret && GetLastError() != ERROR_NO_SUCH_PRIVILEGE,
|
||||
ok( ret || GetLastError() == ERROR_NO_SUCH_PRIVILEGE,
|
||||
"LookupPrivilegeNameA(0.%ld) failed: %ld\n", i, GetLastError());
|
||||
}
|
||||
/* check a bogus LUID */
|
||||
|
|
Loading…
Reference in New Issue