ntdll: Use FILE_OPEN instead of OPEN_EXISTING when calling NtCreateFile.

This commit is contained in:
Mike McCormack 2006-01-17 13:12:43 +01:00 committed by Alexandre Julliard
parent 2f9c9b31ae
commit 9c58884161
1 changed files with 1 additions and 1 deletions

View File

@ -575,7 +575,7 @@ NTSTATUS WINAPI NtLoadKey( const OBJECT_ATTRIBUTES *attr, OBJECT_ATTRIBUTES *fil
TRACE("(%p,%p)\n", attr, file);
ret = NtCreateFile(&hive, GENERIC_READ, file, &io, NULL, FILE_ATTRIBUTE_NORMAL, 0,
OPEN_EXISTING, 0, NULL, 0);
FILE_OPEN, 0, NULL, 0);
if (ret) return ret;
SERVER_START_REQ( load_registry )