]> granicus.if.org Git - musl/commitdiff
fix typo in utimes function that made it mess up file times
authorRich Felker <dalias@aerifal.cx>
Tue, 22 May 2012 03:55:36 +0000 (23:55 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 22 May 2012 03:55:36 +0000 (23:55 -0400)
src/linux/utimes.c

index d998b401d8db0ada06baffdad37fd38e91dfa430..70c0695f88a8ee3b102ff1d9b9c2dfa4727cbd94 100644 (file)
@@ -3,5 +3,5 @@
 
 int utimes(const char *path, const struct timeval times[2])
 {
-       return syscall(SYS_utime, path, times);
+       return syscall(SYS_utimes, path, times);
 }