diff options
Diffstat (limited to 'newlib/libc/reent/mkdirr.c')
-rw-r--r-- | newlib/libc/reent/mkdirr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/reent/mkdirr.c b/newlib/libc/reent/mkdirr.c index fd72df6..cf66a24 100644 --- a/newlib/libc/reent/mkdirr.c +++ b/newlib/libc/reent/mkdirr.c @@ -48,7 +48,7 @@ _mkdir_r (struct _reent *ptr, errno = 0; if ((ret = _mkdir (path, mode)) == -1 && errno != 0) - ptr->_errno = errno; + _REENT_ERRNO(ptr) = errno; return ret; } |