ntdll-FileDispositionInformation: Add braces around argument.

This commit is contained in:
Sebastian Lackner 2015-08-22 05:14:36 +02:00
parent 76f5985038
commit f1045ce6bb

View File

@ -49,7 +49,7 @@ index 5130b44..04891e7 100644
+ LIST_FOR_EACH( ptr, &fd->inode->open )
+ {
+ struct fd *fd_ptr = LIST_ENTRY( ptr, struct fd, inode_entry );
+ if (fd_ptr != fd && fd_ptr->access & FILE_MAPPING_ACCESS)
+ if (fd_ptr != fd && (fd_ptr->access & FILE_MAPPING_ACCESS))
+ {
+ set_error( STATUS_CANNOT_DELETE );
+ return;