From 531daa04c2aadb7d2d655efae09c9f182bc482c3 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 15 Feb 2010 12:20:18 +0100 Subject: [PATCH] ntdll/tests: Use correct access rights in the NtOpenKey test. --- dlls/ntdll/tests/reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ntdll/tests/reg.c b/dlls/ntdll/tests/reg.c index 48de5a5970..8061516111 100644 --- a/dlls/ntdll/tests/reg.c +++ b/dlls/ntdll/tests/reg.c @@ -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); -- 2.33.8