fix i386 __set_thread_area fallback
[musl] / src / linux / utimes.c
index 70c0695..6ca025d 100644 (file)
@@ -1,7 +1,8 @@
 #include <sys/time.h>
+#include "fcntl.h"
 #include "syscall.h"
 
 int utimes(const char *path, const struct timeval times[2])
 {
-       return syscall(SYS_utimes, path, times);
+       return __futimesat(AT_FDCWD, path, times);
 }