Synchronize with trunk revision 59636 (just before Alex's CreateProcess revamp).
[reactos.git] / base / setup / usetup / inicache.c
index bcff69e..fa40dc1 100644 (file)
@@ -1080,7 +1080,7 @@ IniCacheSave(PINICACHE Cache,
                             NULL);
 
   Status = NtCreateFile(&FileHandle,
-                       GENERIC_WRITE,
+                       GENERIC_WRITE | SYNCHRONIZE,
                        &ObjectAttributes,
                        &IoStatusBlock,
                        NULL,