mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-09 00:22:36 +02: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:
Notes:
sideshowbarker
2024-07-19 18:38:29 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/546ddd7de02
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user