diff options
Diffstat (limited to 'newlib/libc/stdio/findfp.c')
-rw-r--r-- | newlib/libc/stdio/findfp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/findfp.c b/newlib/libc/stdio/findfp.c index ee991ed..c7a4a94 100644 --- a/newlib/libc/stdio/findfp.c +++ b/newlib/libc/stdio/findfp.c @@ -179,7 +179,7 @@ __sfp (struct _reent *d) break; } _newlib_sfp_lock_exit (); - d->_errno = ENOMEM; + _REENT_ERRNO(d) = ENOMEM; return NULL; found: |