1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 05:44:58 +00:00

AK: Unbreak building with extra debug macros

This commit is contained in:
Ben Wiederhake 2020-08-27 00:30:19 +02:00 committed by Andreas Kling
parent 33138900de
commit 184b454e2f
3 changed files with 6 additions and 4 deletions

View file

@ -57,7 +57,7 @@ MappedFile::MappedFile(const StringView& file_name)
}
#ifdef DEBUG_MAPPED_FILE
dbgprintf("MappedFile{%s} := { fd=%d, m_size=%u, m_map=%p }\n", file_name.characters(), fd, m_size, m_map);
dbgprintf("MappedFile{%s} := { fd=%d, m_size=%zu, m_map=%p }\n", file_name.to_string().characters(), fd, m_size, m_map);
#endif
close(fd);