mlibc: Mescc-tools support: fix for [v]fprintf.

* lib/libc-mes+tcc.c (vfprintf): Bugfix: print to fd.
This commit is contained in:
Jan Nieuwenhuizen 2017-12-02 08:46:41 +01:00
parent c3fdfedb20
commit 01af41e6f7

View file

@ -419,7 +419,7 @@ vfprintf (FILE* f, char const* format, va_list ap)
char const *p = format;
while (*p)
if (*p != '%')
putchar (*p++);
fputc (*p++, fd);
else
{
p++;