summaryrefslogtreecommitdiffstats
path: root/Src
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2011-12-07 01:31:20 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2011-12-07 01:31:20 +0000
commitfe1dc5102a952f281feec14cb3f7d7c3996f62de (patch)
tree20530b75d915d27fa1a0c6e260ba1d399571846b /Src
parentunposted: 4.3.14 (diff)
downloadzsh-fe1dc5102a952f281feec14cb3f7d7c3996f62de.tar
zsh-fe1dc5102a952f281feec14cb3f7d7c3996f62de.tar.gz
zsh-fe1dc5102a952f281feec14cb3f7d7c3996f62de.tar.bz2
zsh-fe1dc5102a952f281feec14cb3f7d7c3996f62de.tar.lz
zsh-fe1dc5102a952f281feec14cb3f7d7c3996f62de.tar.xz
zsh-fe1dc5102a952f281feec14cb3f7d7c3996f62de.tar.zst
zsh-fe1dc5102a952f281feec14cb3f7d7c3996f62de.zip
29952: fix cut'n'paste error in nanosecond timestamp support
Diffstat (limited to 'Src')
-rw-r--r--Src/glob.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/glob.c b/Src/glob.c
index cf4a5a537..96c00dedb 100644
--- a/Src/glob.c
+++ b/Src/glob.c
@@ -422,13 +422,13 @@ insert(char *s, int checked)
matchptr->_ctime = buf2.st_ctime;
matchptr->_links = buf2.st_nlink;
#ifdef GET_ST_ATIME_NSEC
- matchptr->_ansec = GET_ST_ATIME_NSEC(buf);
+ matchptr->_ansec = GET_ST_ATIME_NSEC(buf2);
#endif
#ifdef GET_ST_MTIME_NSEC
- matchptr->_mnsec = GET_ST_MTIME_NSEC(buf);
+ matchptr->_mnsec = GET_ST_MTIME_NSEC(buf2);
#endif
#ifdef GET_ST_CTIME_NSEC
- matchptr->_cnsec = GET_ST_CTIME_NSEC(buf);
+ matchptr->_cnsec = GET_ST_CTIME_NSEC(buf2);
#endif
}
matchptr++;