diff options
Diffstat (limited to 'src/include/console/console.h')
-rw-r--r-- | src/include/console/console.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/console/console.h b/src/include/console/console.h index b4e8e0911b..4bebdadb0c 100644 --- a/src/include/console/console.h +++ b/src/include/console/console.h @@ -29,6 +29,8 @@ extern struct console_driver econsole_drivers[]; extern int console_loglevel; int do_printk(int msg_level, const char *fmt, ...) __attribute__((format(printf, 2, 3))); +#define printk(x...) do_printk(x) + #define printk_emerg(fmt, arg...) do_printk(BIOS_EMERG ,fmt, ##arg) #define printk_alert(fmt, arg...) do_printk(BIOS_ALERT ,fmt, ##arg) #define printk_crit(fmt, arg...) do_printk(BIOS_CRIT ,fmt, ##arg) |