summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-02-10 05:13:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:01 -0500
commite5ec28ae5566369bcb9d522a2805c5d99eb5d248 (patch)
tree0671c5185cd416a61b6ee6861c341674f6c63dba /source3/lib
parent457e6ac0430abc9961747366e0ec90d755362d1d (diff)
downloadsamba-e5ec28ae5566369bcb9d522a2805c5d99eb5d248.tar.gz
samba-e5ec28ae5566369bcb9d522a2805c5d99eb5d248.tar.bz2
samba-e5ec28ae5566369bcb9d522a2805c5d99eb5d248.zip
r13427: Fix ctime -> st_ctime.
Jeremy. (This used to be commit 95793d7e64d30190ebf917745c719f9c5a1b31e2)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/time.c b/source3/lib/time.c
index b6a22a3098..a13dcf1646 100644
--- a/source3/lib/time.c
+++ b/source3/lib/time.c
@@ -1012,7 +1012,7 @@ struct timespec get_ctimespec(SMB_STRUCT_STAT *pst)
struct timespec ret;
/* Old system - no ns timestamp. */
- ret.tv_sec = pst->ctime;
+ ret.tv_sec = pst->st_ctime;
ret.tv_nsec = 0;
return ret;
#else