[PATCH] ntdll: Fix the spelling of some comments.
Francois Gouget
fgouget at free.fr
Thu Dec 12 04:22:59 CST 2019
Signed-off-by: Francois Gouget <fgouget at free.fr>
---
dlls/ntdll/file.c | 2 +-
dlls/ntdll/sync.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c
index a65703d6f9e..26acc066cd7 100644
--- a/dlls/ntdll/file.c
+++ b/dlls/ntdll/file.c
@@ -3281,7 +3281,7 @@ NTSTATUS WINAPI NtQueryVolumeInformationFile( HANDLE handle, PIO_STATUS_BLOCK io
* restart [I] restart EA scan
*
* RETURNS
- * Success: 0. Atrributes read into buffer
+ * Success: 0. Attributes read into buffer
* Failure: An NTSTATUS error code describing the error.
*/
NTSTATUS WINAPI NtQueryEaFile( HANDLE hFile, PIO_STATUS_BLOCK iosb, PVOID buffer, ULONG length,
diff --git a/dlls/ntdll/sync.c b/dlls/ntdll/sync.c
index 35b89df52ed..0dc6fc33900 100644
--- a/dlls/ntdll/sync.c
+++ b/dlls/ntdll/sync.c
@@ -2143,8 +2143,8 @@ void WINAPI RtlReleaseSRWLockShared( RTL_SRWLOCK *lock )
* RtlTryAcquireSRWLockExclusive (NTDLL.@)
*
* NOTES
- * Similar to AcquireSRWLockExclusive recusive calls are not allowed
- * and will fail with return value FALSE.
+ * Similarly to AcquireSRWLockExclusive, recursive calls are not allowed
+ * and will fail with a FALSE return value.
*/
BOOLEAN WINAPI RtlTryAcquireSRWLockExclusive( RTL_SRWLOCK *lock )
{
--
2.20.1
More information about the wine-devel
mailing list