From f209faffab90186cd88cd0a2fe2cc6236bb53e15 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Mon, 17 Jun 2024 22:07:38 +0200 Subject: Reorganize logging code --- kernel/kmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/kmalloc.c') diff --git a/kernel/kmalloc.c b/kernel/kmalloc.c index a652962..f9513d7 100644 --- a/kernel/kmalloc.c +++ b/kernel/kmalloc.c @@ -184,7 +184,7 @@ void *int_kmalloc(size_t s) { MallocHeader *free_entry = find_free_entry(s); if (!free_entry) { if (!add_heap_memory(s)) { - klog("Ran out of memory.", LOG_ERROR); + klog(LOG_ERROR, "Ran out of memory."); return NULL; } return kmalloc(s); -- cgit v1.2.3