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

LibCore: Convert dbgprintf() => dbgln()

This commit is contained in:
Andreas Kling 2021-02-17 15:40:52 +01:00
parent dffab4e034
commit c1dd5553a8
2 changed files with 2 additions and 5 deletions

View file

@ -184,7 +184,7 @@ String IODevice::read_line(size_t max_size)
return {};
if (m_eof) {
if (m_buffered_data.size() > max_size) {
dbgprintf("IODevice::read_line: At EOF but there's more than max_size(%zu) buffered\n", max_size);
dbgln("IODevice::read_line: At EOF but there's more than max_size({}) buffered", max_size);
return {};
}
auto line = String((const char*)m_buffered_data.data(), m_buffered_data.size(), Chomp);