[libc] Fix the fputc issue when enable microlib.

This commit is contained in:
Bernard Xiong 2018-09-25 11:04:02 +08:00
parent e877460a53
commit 32939be90c
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ int fputc(int c, FILE *f)
{
char ch[2] = {0};
ch[1] = c;
ch[0] = c;
rt_kprintf(&ch[0]);
return 1;
}