[VFATLIB]
authorPierre Schweitzer <pierre@reactos.org>
Sun, 1 Nov 2015 13:03:49 +0000 (13:03 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 1 Nov 2015 13:03:49 +0000 (13:03 +0000)
Set SYNCHRONIZE where missing

svn path=/trunk/; revision=69771

reactos/lib/fslib/vfatlib/vfatlib.c

index 306940b..c2cef58 100644 (file)
@@ -49,7 +49,7 @@ VfatFormat(IN PUNICODE_STRING DriveRoot,
                                NULL);
 
     Status = NtOpenFile(&FileHandle,
-                        FILE_GENERIC_READ | FILE_GENERIC_WRITE,
+                        FILE_GENERIC_READ | FILE_GENERIC_WRITE | SYNCHRONIZE,
                         &ObjectAttributes,
                         &Iosb,
                         FILE_SHARE_READ,