summaryrefslogtreecommitdiff
path: root/src/time/utime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/utime.c')
-rw-r--r--src/time/utime.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/time/utime.c b/src/time/utime.c
index 56e9e13a..856315b4 100644
--- a/src/time/utime.c
+++ b/src/time/utime.c
@@ -3,10 +3,5 @@
int utime(const char *path, const struct utimbuf *times)
{
- long ktimes[2];
- if (times) {
- ktimes[0] = times->actime;
- ktimes[1] = times->modtime;
- }
- return syscall2(__NR_utime, (long)path, times ? (long)ktimes : 0);
+ return syscall(SYS_utime, path, times);
}