summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-15 09:08:44 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-15 09:08:44 -0400
commitc67415f848ba50d43ead27a5a67c9d5e07423e9b (patch)
treef16be1c8f3cea285e1899546026ebfe07a96b189 /src
parent127848f1050c8e9e3f7fd5101be071dff54d8567 (diff)
implement as syscall
Diffstat (limited to 'src')
-rw-r--r--src/utime/utime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utime/utime.c b/src/utime/utime.c
index 75ce6c1d..0ff34006 100644
--- a/src/utime/utime.c
+++ b/src/utime/utime.c
@@ -1,10 +1,10 @@
#include "time.h"
#include <utime.h>
+#include "_syscall.h"
int utime(const char *path, const struct utimbuf *times)
{
- (void)path; (void)times;
- return -1;
+ SYSCALL(utime, int, -1, path, times, 0, 0, 0, 0);
}
/*
POSIX(1)