diff options
Diffstat (limited to 'source3/lib/time.c')
-rw-r--r-- | source3/lib/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/time.c b/source3/lib/time.c index 2db10f98d9..0fb35bd977 100644 --- a/source3/lib/time.c +++ b/source3/lib/time.c @@ -1252,7 +1252,7 @@ void set_ctimespec(SMB_STRUCT_STAT *pst, struct timespec ts) pst->st_ctime = ts.tv_sec; #else #if defined(HAVE_STAT_ST_CTIM) - pst->st_atim = ts; + pst->st_ctim = ts; #elif defined(HAVE_STAT_ST_CTIMENSEC) pst->st_ctime = ts.tv_sec; pst->st_ctimensec = ts.tv_nsec |