mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
TTY: Use dbg() instead of dbgprintf()
This commit is contained in:
parent
db23703570
commit
309593d5bd
1 changed files with 3 additions and 3 deletions
|
@ -88,11 +88,11 @@ ssize_t TTY::read(FileDescription&, u8* buffer, ssize_t size)
|
|||
ssize_t TTY::write(FileDescription&, const u8* buffer, ssize_t size)
|
||||
{
|
||||
#ifdef TTY_DEBUG
|
||||
dbgprintf("TTY::write {%u} ", size);
|
||||
dbg() << "TTY::write {" << String::format("%u", size) << "} ";
|
||||
for (size_t i = 0; i < size; ++i) {
|
||||
dbgprintf("%b ", buffer[i]);
|
||||
dbg() << String::format("%b ", buffer[i]);
|
||||
}
|
||||
dbgprintf("\n");
|
||||
dbg() << "";
|
||||
#endif
|
||||
on_tty_write(buffer, size);
|
||||
return size;
|
||||
|
|
Loading…
Add table
Reference in a new issue