1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09:00

Kernel: Simplify a bunch of dbg() and klog() calls

LogStream can handle VirtualAddress and PhysicalAddress directly.
This commit is contained in:
Andreas Kling 2020-03-06 15:00:44 +01:00
parent b866582d98
commit c6693f9b3a
Notes: sideshowbarker 2024-07-19 08:52:09 +09:00
11 changed files with 32 additions and 33 deletions

View file

@ -136,7 +136,7 @@ ssize_t FIFO::write(FileDescription&, const u8* buffer, ssize_t size)
return -EPIPE;
}
#ifdef FIFO_DEBUG
dbg() << "fifo: write(" << String::format("%p", buffer) << ", " << size << ")";
dbg() << "fifo: write(" << (const void*)buffer) << ", " << size << ")";
#endif
return m_buffer.write(buffer, size);
}