diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2005-01-18 17:08:55 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2005-01-18 17:08:55 +0000 |
commit | 464d01bf6ef774a5faf638378f331868b375fde3 (patch) | |
tree | 39da4a2dffc6548534a9ffb303c023f5296dd919 /newlib | |
parent | c20ec37fbd11cf18cf9201e218ceb022399883eb (diff) | |
download | cygnal-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')
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/machine/powerpc/vfprintf.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 7682e9c54..5eaac3ba1 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2005-01-18 Aldy Hernandez <aldyh@redhat.com> + + * libc/machine/powerpc/vfprintf.c: Use _REENT when calling + _VFPRINTF_R. + 2005-01-07 Paul Brook <paul@codesourcery.com> * configure.in: Add test for .init_array. 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 |