mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-27 15:04:33 +00:00
Hide repetitive debug messages
This commit is contained in:
parent
ac2bc8f6d0
commit
20227aabe5
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user