summaryrefslogtreecommitdiff
path: root/kernel/log.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-06-17 22:07:38 +0200
committerAnton Kling <anton@kling.gg>2024-06-17 22:07:38 +0200
commitf209faffab90186cd88cd0a2fe2cc6236bb53e15 (patch)
tree68194363c25900f5d349c8ae34d42be9ae638df8 /kernel/log.h
parent08d0b7eee74b9f345241faad460d145bb0454736 (diff)
Reorganize logging code
Diffstat (limited to 'kernel/log.h')
-rw-r--r--kernel/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/log.h b/kernel/log.h
index 10164d0..fb1ce34 100644
--- a/kernel/log.h
+++ b/kernel/log.h
@@ -6,5 +6,5 @@
#define LOG_ERROR 1
#define LOG_SUCCESS 0
-void klog(char *str, int code);
+void klog(int code, char *fmt, ...);
void dump_backtrace(u32 max_frames);