mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 19:35:44 +00:00
[NTOSKRNL]
* Fix a copy pasted typo. svn path=/trunk/; revision=60046
This commit is contained in:
parent
a1dd5cf574
commit
e7ced8199e
1 changed files with 5 additions and 5 deletions
|
@ -1763,7 +1763,7 @@ IoCreateFile(OUT PHANDLE FileHandle,
|
|||
|
||||
if (CreateOptions & ~FILE_VALID_OPTION_FLAGS)
|
||||
{
|
||||
DPRINT1("File Create 'CreateOptions' Prameter contains invalid flags!\n");
|
||||
DPRINT1("File Create 'CreateOptions' parameter contains invalid flags!\n");
|
||||
ExFreePool(OpenPacket);
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
|
@ -1771,14 +1771,14 @@ IoCreateFile(OUT PHANDLE FileHandle,
|
|||
if ((CreateOptions & (FILE_SYNCHRONOUS_IO_ALERT | FILE_SYNCHRONOUS_IO_NONALERT)) &&
|
||||
(!(DesiredAccess & SYNCHRONIZE)))
|
||||
{
|
||||
DPRINT1("File Create 'CreateOptions' Prameter FILE_SYNCHRONOUS_IO_* requested, but 'DesiredAccess' does not have SYNCHRONIZE!\n");
|
||||
DPRINT1("File Create 'CreateOptions' parameter FILE_SYNCHRONOUS_IO_* requested, but 'DesiredAccess' does not have SYNCHRONIZE!\n");
|
||||
ExFreePool(OpenPacket);
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
if ((CreateOptions & FILE_DELETE_ON_CLOSE) && (!(DesiredAccess & DELETE)))
|
||||
{
|
||||
DPRINT1("File Create 'CreateOptions' Prameter FILE_DELETE_ON_CLOSE requested, but 'DesiredAccess' does not have DELETE!\n");
|
||||
DPRINT1("File Create 'CreateOptions' parameter FILE_DELETE_ON_CLOSE requested, but 'DesiredAccess' does not have DELETE!\n");
|
||||
ExFreePool(OpenPacket);
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
|
@ -1786,7 +1786,7 @@ IoCreateFile(OUT PHANDLE FileHandle,
|
|||
if ((CreateOptions & (FILE_SYNCHRONOUS_IO_NONALERT | FILE_SYNCHRONOUS_IO_ALERT)) ==
|
||||
(FILE_SYNCHRONOUS_IO_NONALERT | FILE_SYNCHRONOUS_IO_ALERT))
|
||||
{
|
||||
DPRINT1("File Create 'FileAttributes' Prameter both FILE_SYNCHRONOUS_IO_NONALERT and FILE_SYNCHRONOUS_IO_ALERT specified!\n");
|
||||
DPRINT1("File Create 'FileAttributes' parameter both FILE_SYNCHRONOUS_IO_NONALERT and FILE_SYNCHRONOUS_IO_ALERT specified!\n");
|
||||
ExFreePool(OpenPacket);
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
|
@ -1826,7 +1826,7 @@ IoCreateFile(OUT PHANDLE FileHandle,
|
|||
|
||||
if ((CreateOptions & FILE_NO_INTERMEDIATE_BUFFERING) && (DesiredAccess & FILE_APPEND_DATA))
|
||||
{
|
||||
DPRINT1("File Create 'CreateOptions' Prameter FILE_NO_INTERMEDIATE_BUFFERING requested, but 'DesiredAccess' FILE_APPEND_DATA requires it!\n");
|
||||
DPRINT1("File Create 'CreateOptions' parameter FILE_NO_INTERMEDIATE_BUFFERING requested, but 'DesiredAccess' FILE_APPEND_DATA requires it!\n");
|
||||
ExFreePool(OpenPacket);
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue