diff options
Diffstat (limited to 'src/linux/utimes.c')
-rw-r--r-- | src/linux/utimes.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/linux/utimes.c b/src/linux/utimes.c index 70c0695f..b814c88b 100644 --- a/src/linux/utimes.c +++ b/src/linux/utimes.c @@ -1,7 +1,10 @@ #include <sys/time.h> +#include "fcntl.h" #include "syscall.h" +int __futimesat(int, const char *, const struct timeval [2]); + int utimes(const char *path, const struct timeval times[2]) { - return syscall(SYS_utimes, path, times); + return __futimesat(AT_FDCWD, path, times); } |