From f9f6132efdd78cea38652e1ff8fe1fdefea42169 Mon Sep 17 00:00:00 2001 From: Tal Aloni Date: Fri, 12 Jul 2019 11:43:24 +0300 Subject: [PATCH] NTFileSystemAdapter: Minor logging improvement --- SMBLibrary/NTFileStore/Adapter/NTFileSystemAdapter.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/SMBLibrary/NTFileStore/Adapter/NTFileSystemAdapter.cs b/SMBLibrary/NTFileStore/Adapter/NTFileSystemAdapter.cs index 869c54f..e1d1f77 100644 --- a/SMBLibrary/NTFileStore/Adapter/NTFileSystemAdapter.cs +++ b/SMBLibrary/NTFileStore/Adapter/NTFileSystemAdapter.cs @@ -380,6 +380,7 @@ namespace SMBLibrary if (offset >= stream.Length) { + Log(Severity.Verbose, "ReadFile: Cannot read from '{0}', offset {1} is out of range.", path, offset); return NTStatus.STATUS_END_OF_FILE; }