summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-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 97e024c..3472514 100644
--- a/sys/include/sys/syslog.h
+++ b/sys/include/sys/syslog.h
@@ -42,6 +42,10 @@
kprintf("%s[debug]: ", __THIS_MODULE); \
kprintf(__VA_ARGS__);
+#define KERR(...) \
+ kprintf("%s[ERROR]: ", __THIS_MODULE); \
+ kprintf(__VA_ARGS__);
+
void syslog_init(void);
void kprintf(const char *fmt, ...);
void vkprintf(const char *fmt, va_list *ap);