mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
sys: create: fix status return (IFSTEST)
This commit is contained in:
parent
299605b8fc
commit
c780912810
@ -263,7 +263,7 @@ static NTSTATUS FspFsvolCreateNoLock(
|
||||
|
||||
/* must be a relative path */
|
||||
if (sizeof(WCHAR) <= FileName.Length && L'\\' == FileName.Buffer[0])
|
||||
return STATUS_OBJECT_NAME_INVALID;
|
||||
return STATUS_INVALID_PARAMETER; /* IFSTEST */
|
||||
|
||||
BOOLEAN AppendBackslash =
|
||||
sizeof(WCHAR) * 2/* not empty or root */ <= RelatedFileNode->FileName.Length &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user