mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Fixed the required access rights for formating a disk.
svn path=/trunk/; revision=14210
This commit is contained in:
@@ -57,7 +57,7 @@ VfatFormat (PUNICODE_STRING DriveRoot,
|
||||
NULL);
|
||||
|
||||
Status = NtOpenFile(&FileHandle,
|
||||
FILE_WRITE_ACCESS | FILE_WRITE_ATTRIBUTES,
|
||||
FILE_GENERIC_READ | FILE_GENERIC_WRITE,
|
||||
&ObjectAttributes,
|
||||
&Iosb,
|
||||
FILE_SHARE_READ,
|
||||
|
||||
@@ -55,7 +55,7 @@ VfatxFormat (PUNICODE_STRING DriveRoot,
|
||||
NULL);
|
||||
|
||||
Status = NtOpenFile(&FileHandle,
|
||||
FILE_WRITE_ACCESS | FILE_WRITE_ATTRIBUTES,
|
||||
FILE_GENERIC_READ | FILE_GENERIC_WRITE,
|
||||
&ObjectAttributes,
|
||||
&Iosb,
|
||||
FILE_SHARE_READ,
|
||||
|
||||
Reference in New Issue
Block a user