diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/xstatconv.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/xstatconv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/xstatconv.c b/sysdeps/unix/sysv/linux/xstatconv.c index 21620a2e00..d4cf9c1451 100644 --- a/sysdeps/unix/sysv/linux/xstatconv.c +++ b/sysdeps/unix/sysv/linux/xstatconv.c @@ -168,7 +168,7 @@ xstat32_conv (int vers, struct stat64 *kbuf, struct stat *buf) # endif { buf->st_ino = kbuf->st_ino; - if (sizeof (buf->st_ino) != sizeof (kbuf->__st_ino) + if (sizeof (buf->st_ino) != sizeof (kbuf->st_ino) && buf->st_ino != kbuf->st_ino) { __set_errno (EOVERFLOW); @@ -176,8 +176,8 @@ xstat32_conv (int vers, struct stat64 *kbuf, struct stat *buf) } } #else - buf->st_ino = kbuf->__st_ino; - if (sizeof (buf->st_ino) != sizeof (kbuf->__st_ino) + buf->st_ino = kbuf->st_ino; + if (sizeof (buf->st_ino) != sizeof (kbuf->st_ino) && buf->st_ino != kbuf->st_ino) { __set_errno (EOVERFLOW); |