aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/minilib/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/minilib/printf.c')
-rw-r--r--tests/tcg/minilib/printf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tcg/minilib/printf.c b/tests/tcg/minilib/printf.c
index 121620c..10472b4 100644
--- a/tests/tcg/minilib/printf.c
+++ b/tests/tcg/minilib/printf.c
@@ -119,6 +119,9 @@ void ml_printf(const char *fmt, ...)
str = va_arg(ap, char*);
print_str(str);
break;
+ case 'c':
+ __sys_outc(va_arg(ap, int));
+ break;
case '%':
__sys_outc(*fmt);
break;