From: Owen Shepherd Date: Wed, 20 Feb 2013 01:07:30 +0000 (+0000) Subject: vfprintf: use putc_unlocked X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=c45b8c52827f1ea733cf211045d8d5b7bedcc970 vfprintf: use putc_unlocked --- diff --git a/functions/stdio/vfprintf.c b/functions/stdio/vfprintf.c index f9562d2..b8e9194 100644 --- a/functions/stdio/vfprintf.c +++ b/functions/stdio/vfprintf.c @@ -37,7 +37,7 @@ int vfprintf_unlocked( FILE * _PDCLIB_restrict stream, if ( ( *format != '%' ) || ( ( rc = _PDCLIB_print( format, &status ) ) == format ) ) { /* No conversion specifier, print verbatim */ - putc( *(format++), stream ); + _PDCLIB_putc_unlocked( *(format++), stream ); status.i++; } else