Hide repetitive debug messages

This commit is contained in:
Alex 2023-09-02 19:45:53 +03:00
parent ac2bc8f6d0
commit 20227aabe5
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD
2 changed files with 6 additions and 6 deletions

View File

@ -72,7 +72,7 @@ namespace VirtualFileSystem
{ {
if (fd.Descriptor == FileDescriptor) if (fd.Descriptor == FileDescriptor)
{ {
debug("Found file descriptor %d", FileDescriptor); // debug("Found file descriptor %d", FileDescriptor);
return fd; return fd;
} }
} }

View File

@ -110,7 +110,7 @@ namespace VirtualFileSystem
return this->node->Operator->Seek(this->node, _Offset, Whence, RefOffset); return this->node->Operator->Seek(this->node, _Offset, Whence, RefOffset);
} }
debug("Current offset is %d", this->Offset.load()); // debug("Current offset is %d", this->Offset.load());
switch (Whence) switch (Whence)
{ {
case SEEK_SET: case SEEK_SET:
@ -172,10 +172,10 @@ namespace VirtualFileSystem
} }
off_t RetOffset = off_t(this->Offset.load()); off_t RetOffset = off_t(this->Offset.load());
debug("( %d %ld %s[%d] ) -> %d", // debug("( %d %ld %s[%d] ) -> %d",
_Offset, this->Offset.load(), // _Offset, this->Offset.load(),
SeekStrings[Whence], Whence, // SeekStrings[Whence], Whence,
RetOffset); // RetOffset);
return RetOffset; return RetOffset;
} }