aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/syslog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/include/sys/syslog.h b/sys/include/sys/syslog.h
index 344ba0f..7706eec 100644
--- a/sys/include/sys/syslog.h
+++ b/sys/include/sys/syslog.h
@@ -42,6 +42,10 @@
kprintf("%s[info]: ", __THIS_MODULE); \
kprintf(__VA_ARGS__);
+#define KWARN(...) \
+ kprintf("%s[WARN]: ", __THIS_MODULE); \
+ kprintf(__VA_ARGS__);
+
#define KDEBUG(...) \
kprintf("%s[debug]: ", __THIS_MODULE); \
kprintf(__VA_ARGS__);