summaryrefslogtreecommitdiffstats
path: root/lib/printf.h
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2026-09-17 11:11:20 -0400
committerJon Santmyer <jon@jonsantmyer.com>2026-09-17 11:11:20 -0400
commit13adbc58eb9f5eb5d6f0e4454bd005e9adbb47c8 (patch)
treea15e55bc70c60d3faa053db3b7b9a17fe75589bc /lib/printf.h
parenta783cc865f1f261c20f6ef55cb37d4839f519865 (diff)
downloadjove-kernel-13adbc58eb9f5eb5d6f0e4454bd005e9adbb47c8.tar.gz
jove-kernel-13adbc58eb9f5eb5d6f0e4454bd005e9adbb47c8.tar.bz2
jove-kernel-13adbc58eb9f5eb5d6f0e4454bd005e9adbb47c8.zip
make syscall use non-locking mutexes
Diffstat (limited to 'lib/printf.h')
-rw-r--r--lib/printf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/printf.h b/lib/printf.h
index a132b39..bcee770 100644
--- a/lib/printf.h
+++ b/lib/printf.h
@@ -4,6 +4,8 @@
#include <stdarg.h>
#include <stddef.h>
+#define klogf(fmt, ...) kprintf("%s: " fmt, __func__, __VA_ARGS__)
+
int kprintf(const char *fmt, ...);
int kvprintf(const char *fmt, va_list ap);