r13427: Fix ctime -> st_ctime.
authorJeremy Allison <jra@samba.org>
Fri, 10 Feb 2006 05:13:37 +0000 (05:13 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:10:01 +0000 (11:10 -0500)
Jeremy.
(This used to be commit 95793d7e64d30190ebf917745c719f9c5a1b31e2)

source3/lib/time.c

index b6a22a30988d770d581a43fce836270f29d375d4..a13dcf1646a8fa594935f0af77b1c62a019c9500 100644 (file)
@@ -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