1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 13:55:08 +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

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