aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/mlibc/stdio/vprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/userspace/mlibc/stdio/vprintf.c')
-rw-r--r--src/userspace/mlibc/stdio/vprintf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/userspace/mlibc/stdio/vprintf.c b/src/userspace/mlibc/stdio/vprintf.c
index 1d43c77..2536b79 100644
--- a/src/userspace/mlibc/stdio/vprintf.c
+++ b/src/userspace/mlibc/stdio/vprintf.c
@@ -3,7 +3,7 @@
#include <mlibc/stdio.h>
#include <mlibc/stdlib.h>
-void __writes(const char *data)
+void _writes(const char *data)
{
for (size_t i = 0; i < strlen(data); i++) writec(data[i]);
}
@@ -25,16 +25,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);
free(p);
readyToFormat = 0;
} else if (buff == 'd') {
char *p = itoa(va_arg(args, int));
- __writes(p);
+ _writes(p);
free(p);
readyToFormat = 0;
} else if (buff == 'c') {