format: fix format string

This commit is contained in:
Vaxry 2024-02-26 19:51:12 +00:00
parent 0d5115ab6b
commit 8876ceccc2

View file

@ -542,7 +542,7 @@ static void handleKeyboardKeymap(void* data, wl_keyboard* wl_keyboard, uint form
const char* buf = (const char*)mmap(NULL, size, PROT_READ, MAP_SHARED, fd, 0);
if (buf == MAP_FAILED) {
Debug::log(ERR, "Failed to mmap xkb keymap: %d", errno);
Debug::log(ERR, "Failed to mmap xkb keymap: {}", errno);
return;
}