ntdll/tests: Use correct access rights in the NtOpenKey test.

This commit is contained in:
Alexandre Julliard 2010-02-15 12:20:18 +01:00
parent 95a2f9d951
commit 531daa04c2
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ static void test_NtOpenKey(void)
InitializeObjectAttributes(&attr, &winetestpath, 0, 0, 0);
/* NULL key */
status = pNtOpenKey(NULL, 0, &attr);
status = pNtOpenKey(NULL, am, &attr);
todo_wine
ok(status == STATUS_ACCESS_VIOLATION, "Expected STATUS_ACCESS_VIOLATION, got: 0x%08x\n", status);