Skip to content

Commit

Permalink
docs: fix simple typo, specifed -> specified (#946)
Browse files Browse the repository at this point in the history
There is a small typo in dokan/create.c, dokan/directory.c, sys/create.c, sys/fileinfo.c.

Should read `specified` rather than `specifed`.
  • Loading branch information
timgates42 authored Nov 21, 2020
1 parent c88288c commit 094d53b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dokan/create.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
4 changes: 2 additions & 2 deletions dokan/directory.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion sys/create.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion sys/fileinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 094d53b

Please sign in to comment.