aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/system.c
diff options
context:
space:
mode:
authorMarvin Borner2020-04-15 16:35:29 +0200
committerMarvin Borner2020-04-15 16:35:29 +0200
commitaa3d1b4689e6dadd982fe1e5ca8af69ca39c617d (patch)
tree8d4eff1df3031e601cb50cf005130a591fce35a1 /src/kernel/system.c
parent10cd931d75a02942c5ad254cef2e56b515122fa3 (diff)
Added ext2 filesystem
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.",