diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-17 00:54:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-17 00:54:46 +0000 |
commit | 2433f86b14f64cf012b687daf56fe24bb2c30a68 (patch) | |
tree | 3ecbce9e3a2c71be4f1608e04360bd9738a67fe6 /libc/sysdeps/linux/common | |
parent | bf177923c08ae1ce3a1a0ef057f2dbbdeab1bdf9 (diff) |
whoops, reversed naming of nano sec members ... kernel uses _, user space does not
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r-- | libc/sysdeps/linux/common/xstatconv.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/common/xstatconv.c b/libc/sysdeps/linux/common/xstatconv.c index fbaa52cf5..df6ebaa2b 100644 --- a/libc/sysdeps/linux/common/xstatconv.c +++ b/libc/sysdeps/linux/common/xstatconv.c @@ -49,9 +49,9 @@ void __xstat_conv(struct kernel_stat *kbuf, struct stat *buf) buf->st_mtime = kbuf->st_mtime; buf->st_ctime = kbuf->st_ctime; #ifdef STAT_HAVE_NSEC - buf->st_atime_nsec = kbuf->st_atimensec; - buf->st_mtime_nsec = kbuf->st_mtimensec; - buf->st_ctime_nsec = kbuf->st_ctimensec; + buf->st_atimensec = kbuf->st_atime_nsec; + buf->st_mtimensec = kbuf->st_mtime_nsec; + buf->st_ctimensec = kbuf->st_ctime_nsec; #endif } @@ -77,9 +77,9 @@ void __xstat64_conv(struct kernel_stat64 *kbuf, struct stat64 *buf) buf->st_mtime = kbuf->st_mtime; buf->st_ctime = kbuf->st_ctime; #ifdef STAT_HAVE_NSEC - buf->st_atime_nsec = kbuf->st_atimensec; - buf->st_mtime_nsec = kbuf->st_mtimensec; - buf->st_ctime_nsec = kbuf->st_ctimensec; + buf->st_atimensec = kbuf->st_atime_nsec; + buf->st_mtimensec = kbuf->st_mtime_nsec; + buf->st_ctimensec = kbuf->st_ctime_nsec; #endif } |