Przeglądaj źródła

Kernel: Fix a dmesgln() format error

AnotherTest 4 lat temu
rodzic
commit
531d72fdfd
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Kernel/Heap/kmalloc.cpp

+ 1 - 1
Kernel/Heap/kmalloc.cpp

@@ -248,7 +248,7 @@ void* kmalloc_impl(size_t size)
 
     void* ptr = g_kmalloc_global->m_heap.allocate(size);
     if (!ptr) {
-        PANIC("kmalloc: Out of memory (requested size: {})");
+        PANIC("kmalloc: Out of memory (requested size: {})", size);
     }
 
     return ptr;