From 0395e7c776943b175fe1f7cbdf40d7885934cebe Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Tue, 13 Sep 2016 21:30:45 -0400 Subject: [PATCH] fix futimes version of utimes wrapper --- src/fs_time_futimes.icpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fs_time_futimes.icpp b/src/fs_time_futimes.icpp index d4019b89..b241956a 100644 --- a/src/fs_time_futimes.icpp +++ b/src/fs_time_futimes.icpp @@ -25,8 +25,8 @@ namespace fs { struct timeval times[2]; - TIMESPEC_TO_TIMEVAL(×[0],&st.st_atimespec); - TIMESPEC_TO_TIMEVAL(×[1],&st.st_mtimespec); + TIMESPEC_TO_TIMEVAL(×[0],&st.st_atim); + TIMESPEC_TO_TIMEVAL(×[1],&st.st_mtim); return ::futimes(fd,times); }