Skip to content

Commit

Permalink
Fixed compile
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-saplin committed Jul 25, 2018
1 parent a9e4bf6 commit b100c13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Saplin.StorageSpeedMeter/MacOsUncachedFileStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ public MacOsUncachedFileStream(string path, FileMode mode, FileAccess access, Fi
Syscall.fcntl((int)SafeFileHandle.DangerousGetHandle(), FcntlCommand.F_NOCACHE);
}
}
}

}
2 changes: 1 addition & 1 deletion Saplin.StorageSpeedMeter/TestFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public TestFile(string drivePath)

if (RuntimeInformation.IsOSPlatform(System.Runtime.InteropServices.OSPlatform.OSX)) //mscOS
{
}
else //Windows
{
WriteStream = new FileStream(path, FileMode.Create, FileAccess.ReadWrite, FileShare.ReadWrite, buffer, FileOptions.WriteThrough);
Expand Down

0 comments on commit b100c13

Please sign in to comment.