diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c index 873f85ac3b..6837bfceaf 100644 --- a/arch/sandbox/cpu/os.c +++ b/arch/sandbox/cpu/os.c @@ -638,7 +638,7 @@ int os_get_filesize(const char *fname, loff_t *size) void os_putc(int ch) { - putchar(ch); + fputc(ch, stdout); } void os_puts(const char *str)