diff options
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/printk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/console/printk.c b/src/console/printk.c index 85d9bfb1e6..1ed39cb5ff 100644 --- a/src/console/printk.c +++ b/src/console/printk.c @@ -69,7 +69,7 @@ static void wrap_putchar_cbmemc(unsigned char byte, void *data) __cbmemc_tx_byte(byte); } -int do_vprintk(int msg_level, const char *fmt, va_list args) +int vprintk(int msg_level, const char *fmt, va_list args) { int i, log_this; @@ -98,13 +98,13 @@ int do_vprintk(int msg_level, const char *fmt, va_list args) return i; } -int do_printk(int msg_level, const char *fmt, ...) +int printk(int msg_level, const char *fmt, ...) { va_list args; int i; va_start(args, fmt); - i = do_vprintk(msg_level, fmt, args); + i = vprintk(msg_level, fmt, args); va_end(args); return i; |