diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-07-10 20:14:58 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-07-10 20:14:58 +0000 |
commit | 7a324ed4c10f109cfc3a14b4ce9d07ff963203d0 (patch) | |
tree | f5a9e1fa6208391e8ca18bc65c5dfe53f632b01d | |
parent | 1b6dece9eaf60a041fd557edb07e55133a86f099 (diff) | |
download | mtk-20170518-7a324ed4c10f109cfc3a14b4ce9d07ff963203d0.zip mtk-20170518-7a324ed4c10f109cfc3a14b4ce9d07ff963203d0.tar.gz mtk-20170518-7a324ed4c10f109cfc3a14b4ce9d07ff963203d0.tar.bz2 |
uClibc: fix copy&pasted typo in the stat fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41573
-rw-r--r-- | toolchain/uClibc/patches-0.9.33.2/616-mips_fix_stat_time.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/toolchain/uClibc/patches-0.9.33.2/616-mips_fix_stat_time.patch b/toolchain/uClibc/patches-0.9.33.2/616-mips_fix_stat_time.patch index c07208e..1559857 100644 --- a/toolchain/uClibc/patches-0.9.33.2/616-mips_fix_stat_time.patch +++ b/toolchain/uClibc/patches-0.9.33.2/616-mips_fix_stat_time.patch @@ -8,11 +8,11 @@ - buf->st_mtim = kbuf->st_mtim; - buf->st_ctim = kbuf->st_ctim; + buf->st_atim.tv_sec = kbuf->st_atim.tv_sec; -+ buf->st_atim.tv_nsec = kbuf->st_atim.tv_sec; ++ buf->st_atim.tv_nsec = kbuf->st_atim.tv_nsec; + buf->st_mtim.tv_sec = kbuf->st_mtim.tv_sec; -+ buf->st_mtim.tv_nsec = kbuf->st_mtim.tv_sec; ++ buf->st_mtim.tv_nsec = kbuf->st_mtim.tv_nsec; + buf->st_ctim.tv_sec = kbuf->st_ctim.tv_sec; -+ buf->st_ctim.tv_nsec = kbuf->st_ctim.tv_sec; ++ buf->st_ctim.tv_nsec = kbuf->st_ctim.tv_nsec; } void __xstat32_conv(struct kernel_stat64 *kbuf, struct stat *buf) @@ -24,11 +24,11 @@ - buf->st_mtim = kbuf->st_mtim; - buf->st_ctim = kbuf->st_ctim; + buf->st_atim.tv_sec = kbuf->st_atim.tv_sec; -+ buf->st_atim.tv_nsec = kbuf->st_atim.tv_sec; ++ buf->st_atim.tv_nsec = kbuf->st_atim.tv_nsec; + buf->st_mtim.tv_sec = kbuf->st_mtim.tv_sec; -+ buf->st_mtim.tv_nsec = kbuf->st_mtim.tv_sec; ++ buf->st_mtim.tv_nsec = kbuf->st_mtim.tv_nsec; + buf->st_ctim.tv_sec = kbuf->st_ctim.tv_sec; -+ buf->st_ctim.tv_nsec = kbuf->st_ctim.tv_sec; ++ buf->st_ctim.tv_nsec = kbuf->st_ctim.tv_nsec; } #ifdef __UCLIBC_HAS_LFS__ @@ -40,11 +40,11 @@ - buf->st_mtim = kbuf->st_mtim; - buf->st_ctim = kbuf->st_ctim; + buf->st_atim.tv_sec = kbuf->st_atim.tv_sec; -+ buf->st_atim.tv_nsec = kbuf->st_atim.tv_sec; ++ buf->st_atim.tv_nsec = kbuf->st_atim.tv_nsec; + buf->st_mtim.tv_sec = kbuf->st_mtim.tv_sec; -+ buf->st_mtim.tv_nsec = kbuf->st_mtim.tv_sec; ++ buf->st_mtim.tv_nsec = kbuf->st_mtim.tv_nsec; + buf->st_ctim.tv_sec = kbuf->st_ctim.tv_sec; -+ buf->st_ctim.tv_nsec = kbuf->st_ctim.tv_sec; ++ buf->st_ctim.tv_nsec = kbuf->st_ctim.tv_nsec; } #endif /* __UCLIBC_HAS_LFS__ */ |