From 499784a824c541001c2fd52ae95eba88dcfc952b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 21 Dec 2019 22:22:03 +0100 Subject: Many debugging/serial improvements Sorry for the little information, but I did many things :) --- src/kernel/lib/stdio/vprintf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/kernel/lib/stdio/vprintf.c') diff --git a/src/kernel/lib/stdio/vprintf.c b/src/kernel/lib/stdio/vprintf.c index 885f584..81b7be0 100644 --- a/src/kernel/lib/stdio/vprintf.c +++ b/src/kernel/lib/stdio/vprintf.c @@ -4,7 +4,7 @@ #include #include -void __writes(const char *data) +void _writes(const char *data) { for (size_t i = 0; i < strlen(data); i++) writec(data[i]); } @@ -26,16 +26,16 @@ void vprintf(const char *fmt, va_list args) buff = *fmt; if (buff == 's') { const char *str = va_arg(args, const char*); - __writes(str); + _writes(str); readyToFormat = 0; } else if (buff == 'x') { char *p = htoa((uint32_t) va_arg(args, int)); - __writes(p); + _writes(p); kfree(p); readyToFormat = 0; } else if (buff == 'd') { char *p = itoa(va_arg(args, int)); - __writes(p); + _writes(p); kfree(p); readyToFormat = 0; } else if (buff == 'c') { -- cgit v1.2.3