about summary refs log tree commit diff
path: root/src/linux/utimes.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-05-21 23:55:36 -0400
committerRich Felker <dalias@aerifal.cx>2012-05-21 23:55:36 -0400
commit7b5467cbae266d9cf91404a13c9b6b6e1d9b8204 (patch)
tree4d17da82f75cb462277709bf74e848cd15524ce2 /src/linux/utimes.c
parent9ae1cf6d292d8c24ad78d6e220186afc5076d120 (diff)
downloadmusl-7b5467cbae266d9cf91404a13c9b6b6e1d9b8204.tar.gz
musl-7b5467cbae266d9cf91404a13c9b6b6e1d9b8204.tar.xz
musl-7b5467cbae266d9cf91404a13c9b6b6e1d9b8204.zip
fix typo in utimes function that made it mess up file times
Diffstat (limited to 'src/linux/utimes.c')
-rw-r--r--src/linux/utimes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/utimes.c b/src/linux/utimes.c
index d998b401..70c0695f 100644
--- a/src/linux/utimes.c
+++ b/src/linux/utimes.c
@@ -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);
 }