From 464d01bf6ef774a5faf638378f331868b375fde3 Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Tue, 18 Jan 2005 17:08:55 +0000 Subject: * libc/machine/powerpc/vfprintf.c: Use _REENT when calling _VFPRINTF_R. --- newlib/libc/machine/powerpc/vfprintf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'newlib/libc/machine') diff --git a/newlib/libc/machine/powerpc/vfprintf.c b/newlib/libc/machine/powerpc/vfprintf.c index aac5fb2fb..b80c58c65 100644 --- a/newlib/libc/machine/powerpc/vfprintf.c +++ b/newlib/libc/machine/powerpc/vfprintf.c @@ -322,8 +322,7 @@ _DEFUN (VFPRINTF, (fp, fmt0, ap), _CONST char *fmt0 _AND va_list ap) { - CHECK_INIT (fp); - return _VFPRINTF_R (fp->_data, fp, fmt0, ap); + return _VFPRINTF_R (_REENT, fp, fmt0, ap); } int -- cgit v1.2.3