From e5ec28ae5566369bcb9d522a2805c5d99eb5d248 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 10 Feb 2006 05:13:37 +0000 Subject: r13427: Fix ctime -> st_ctime. Jeremy. (This used to be commit 95793d7e64d30190ebf917745c719f9c5a1b31e2) --- source3/lib/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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 -- cgit