projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67f3da9
)
tests/tcg/minilib: support %c format char
author
Alex Bennée
<alex.bennee@linaro.org>
Tue, 30 Apr 2019 12:04:51 +0000
(13:04 +0100)
committer
Alex Bennée
<alex.bennee@linaro.org>
Tue, 28 May 2019 09:28:51 +0000
(10:28 +0100)
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
tests/tcg/minilib/printf.c
patch
|
blob
|
history
diff --git
a/tests/tcg/minilib/printf.c
b/tests/tcg/minilib/printf.c
index 121620cb16204555118b3082367e7319da6008a7..10472b4f5852041d03d1567518ebde1b0591e50a 100644
(file)
--- 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;