From 094d53bd945e6804f7db38a6958a5cd73464bb8f Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sat, 21 Nov 2020 18:29:41 +1100 Subject: [PATCH] docs: fix simple typo, specifed -> specified (#946) There is a small typo in dokan/create.c, dokan/directory.c, sys/create.c, sys/fileinfo.c. Should read `specified` rather than `specifed`. --- dokan/create.c | 2 +- dokan/directory.c | 4 ++-- sys/create.c | 2 +- sys/fileinfo.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dokan/create.c b/dokan/create.c index 0ce56f48c..e99746636 100644 --- a/dokan/create.c +++ b/dokan/create.c @@ -161,7 +161,7 @@ VOID DispatchCreate(HANDLE Handle, // This handle is not for a file. It is for origOptions = options; // to open directory - // even if this flag is not specifed, + // even if this flag is not specified, // there is a case to open a directory if (options & FILE_DIRECTORY_FILE) { // DbgPrint("FILE_DIRECTORY_FILE\n"); diff --git a/dokan/directory.c b/dokan/directory.c index c4aad92f3..a9963101a 100644 --- a/dokan/directory.c +++ b/dokan/directory.c @@ -405,8 +405,8 @@ VOID ClearFindData(PLIST_ENTRY ListHead) { } } -// add entry which matches the pattern specifed in EventContext -// to the buffer specifed in EventInfo +// add entry which matches the pattern specified in EventContext +// to the buffer specified in EventInfo // LONG MatchFiles(PEVENT_CONTEXT EventContext, PEVENT_INFORMATION EventInfo, PLIST_ENTRY FindDataList, BOOLEAN PatternCheck, diff --git a/sys/create.c b/sys/create.c index f8d1a2485..852b5429f 100755 --- a/sys/create.c +++ b/sys/create.c @@ -613,7 +613,7 @@ Return Value: (needBackSlashAfterRelatedFile ? sizeof(WCHAR) : 0), fileObject->FileName.Buffer, fileObject->FileName.Length); } else { - // if related file object is not specifed, copy the file name of file + // if related file object is not specified, copy the file name of file // object RtlCopyMemory(fileName, fileObject->FileName.Buffer, fileObject->FileName.Length); diff --git a/sys/fileinfo.c b/sys/fileinfo.c index 2d24a5973..95054fa68 100644 --- a/sys/fileinfo.c +++ b/sys/fileinfo.c @@ -277,7 +277,7 @@ VOID DokanCompleteQueryInformation(__in PIRP_ENTRY IrpEntry, // available buffer size bufferLen = irpSp->Parameters.QueryFile.Length; - // buffer is not specifed or short of size + // buffer is not specified or short of size if (bufferLen == 0 || buffer == NULL || bufferLen < EventInfo->BufferLength) { info = 0; status = STATUS_INSUFFICIENT_RESOURCES;