1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:57:35 +00:00

Everywhere: Replace a bundle of dbg with dbgln.

These changes are arbitrarily divided into multiple commits to make it
easier to find potentially introduced bugs with git bisect.Everything:
This commit is contained in:
asynts 2021-01-10 14:24:59 +01:00 committed by Andreas Kling
parent c7fc9d185d
commit 11d651d447
3 changed files with 18 additions and 18 deletions

View file

@ -137,7 +137,7 @@ bool BXVGADevice::set_resolution(size_t width, size_t height)
return false;
set_resolution_registers(width, height);
dbg() << "BXVGADevice resolution set to " << width << "x" << height << " (pitch=" << m_framebuffer_pitch << ")";
dbgln("BXVGADevice resolution set to {}x{} (pitch={})", width, height, m_framebuffer_pitch);
m_framebuffer_width = width;
m_framebuffer_height = height;
@ -195,7 +195,7 @@ KResultOr<Region*> BXVGADevice::mmap(Process& process, FileDescription&, Virtual
shared);
if (!region)
return KResult(-ENOMEM);
dbg() << "BXVGADevice: mmap with size " << region->size() << " at " << region->vaddr();
dbgln("BXVGADevice: mmap with size {} at {}", region->size(), region->vaddr());
return region;
}