Skip to content

Commit

Permalink
Update EOF log
Browse files Browse the repository at this point in the history
  • Loading branch information
AnimatedSwine37 committed Aug 31, 2024
1 parent d98bbc5 commit c3c2ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FileEmulationFramework/FileAccessServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ private static NT_STATUS NtReadFileImpl(IntPtr handle, IntPtr hEvent, IntPtr* ap
}
else
{
_logger.Debug("[FileAccessServer] Read Fail, Length: {0}, Offset: {1}", numReadBytes, requestedOffset);
_logger.Debug("[FileAccessServer] Likely EOF, Length: {0}, Offset: {1}", numReadBytes, requestedOffset);

// Set status (note that we're assuming that if File.ReadData fails then we're at the end of the file)
ioStatus->Status = NT_STATUS.STATUS_END_OF_FILE;
Expand Down

0 comments on commit c3c2ce0

Please sign in to comment.