From e8deee43bc0a8a9bf7664485bb0ce3b886189dae Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Wed, 17 Apr 2024 23:15:36 +0200 Subject: VFS/LibC: Fix small bugs --- userland/libc/stdio/putchar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'userland/libc/stdio/putchar.c') diff --git a/userland/libc/stdio/putchar.c b/userland/libc/stdio/putchar.c index 3fcf7ca..7db6125 100644 --- a/userland/libc/stdio/putchar.c +++ b/userland/libc/stdio/putchar.c @@ -2,6 +2,6 @@ #include int putchar(int c) { - printf("%c", (char)c); + write(1, (char *)&c, 1); return c; } -- cgit v1.2.3