Fix ctime buffer