mlibc: Mescc-tools support: fix for [v]fprintf.
* lib/libc-mes+tcc.c (vfprintf): Bugfix: print to fd.
This commit is contained in:
parent
c3fdfedb20
commit
01af41e6f7
|
@ -419,7 +419,7 @@ vfprintf (FILE* f, char const* format, va_list ap)
|
||||||
char const *p = format;
|
char const *p = format;
|
||||||
while (*p)
|
while (*p)
|
||||||
if (*p != '%')
|
if (*p != '%')
|
||||||
putchar (*p++);
|
fputc (*p++, fd);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
p++;
|
p++;
|
||||||
|
|
Loading…
Reference in a new issue