aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/system.c')
-rw-r--r--src/kernel/system.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/kernel/system.c b/src/kernel/system.c
index c58949e..a8544e6 100644
--- a/src/kernel/system.c
+++ b/src/kernel/system.c
@@ -90,6 +90,14 @@ void warn(const char *fmt, ...)
writec('\n');
}
+void log(const char *fmt, ...)
+{
+ va_list args;
+ va_start(args, fmt);
+ serial_printf(fmt, args);
+ va_end(args);
+}
+
const char *random_message[10] = { "Uh... Did I do that?",
"Layer 8 problem!",
"Oops.",