summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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