1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 05:45:07 +00:00

Remove logspam in /dev/{full,null,zero} now that they work just fine.

Also don't echo anything to console when putch'ing '\0'.
This commit is contained in:
Andreas Kling 2018-10-26 11:27:42 +02:00
parent 6312c3f253
commit 546ddd7de0
5 changed files with 2 additions and 3 deletions

View file

@ -19,7 +19,6 @@ bool FullDevice::hasDataAvailableForRead() const
Unix::ssize_t FullDevice::read(byte* buffer, Unix::size_t bufferSize)
{
kprintf("FullDevice: read from full\n");
Unix::size_t count = min(GoodBufferSize, bufferSize);
memset(buffer, 0, count);
return count;