summaryrefslogtreecommitdiffstats
path: root/newlib/libc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2005-01-18 17:08:55 +0000
committerAldy Hernandez <aldyh@redhat.com>2005-01-18 17:08:55 +0000
commit464d01bf6ef774a5faf638378f331868b375fde3 (patch)
tree39da4a2dffc6548534a9ffb303c023f5296dd919 /newlib/libc
parentc20ec37fbd11cf18cf9201e218ceb022399883eb (diff)
downloadcygnal-464d01bf6ef774a5faf638378f331868b375fde3.tar.gz
cygnal-464d01bf6ef774a5faf638378f331868b375fde3.tar.bz2
cygnal-464d01bf6ef774a5faf638378f331868b375fde3.zip
* libc/machine/powerpc/vfprintf.c: Use _REENT when calling
_VFPRINTF_R.
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/machine/powerpc/vfprintf.c3
1 files changed, 1 insertions, 2 deletions
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