diff options
Diffstat (limited to 'newlib/libc/stdio/vasnprintf.c')
-rw-r--r-- | newlib/libc/stdio/vasnprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/vasnprintf.c b/newlib/libc/stdio/vasnprintf.c index 1fbf5a1..b3787ec 100644 --- a/newlib/libc/stdio/vasnprintf.c +++ b/newlib/libc/stdio/vasnprintf.c @@ -42,7 +42,7 @@ _vasnprintf_r (struct _reent *ptr, for _size. */ if (len > INT_MAX) { - ptr->_errno = EOVERFLOW; + _REENT_ERRNO(ptr) = EOVERFLOW; return NULL; } f._bf._size = f._w = len; |