mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
sys: statistics: fix stupid mistake when having multiple processors
This commit is contained in:
parent
168acb1a1f
commit
c17b84cff2
@ -36,7 +36,7 @@ NTSTATUS FspStatisticsCreate(FSP_STATISTICS **PStatistics)
|
|||||||
RtlZeroMemory(*PStatistics, sizeof(FSP_STATISTICS) * FspProcessorCount);
|
RtlZeroMemory(*PStatistics, sizeof(FSP_STATISTICS) * FspProcessorCount);
|
||||||
for (ULONG Index = 0; FspProcessorCount > Index; Index++)
|
for (ULONG Index = 0; FspProcessorCount > Index; Index++)
|
||||||
{
|
{
|
||||||
FSP_STATISTICS *Statistics = PStatistics[Index];
|
FSP_STATISTICS *Statistics = *PStatistics + Index;
|
||||||
|
|
||||||
/* pretend that we are FAT when it comes to stats */
|
/* pretend that we are FAT when it comes to stats */
|
||||||
Statistics->Base.FileSystemType = FILESYSTEM_STATISTICS_TYPE_FAT;
|
Statistics->Base.FileSystemType = FILESYSTEM_STATISTICS_TYPE_FAT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user