mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Merge pull request #315 from trapexit/futimes
fix futimes version of utimes wrapper
This commit is contained in:
commit
fa3218cb72
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue