mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Fixed the required access rights for formating a disk.
svn path=/trunk/; revision=14210
This commit is contained in:
parent
572aa1faf4
commit
f0e4451f31
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue