summaryrefslogtreecommitdiff
path: root/src/linux/settimeofday.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/settimeofday.c')
-rw-r--r--src/linux/settimeofday.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/settimeofday.c b/src/linux/settimeofday.c
index bd7e4104..d741f66b 100644
--- a/src/linux/settimeofday.c
+++ b/src/linux/settimeofday.c
@@ -3,5 +3,5 @@
int settimeofday(const struct timeval *tv, void *tz)
{
- return syscall2(__NR_settimeofday, (long)tv, 0);
+ return syscall(SYS_settimeofday, tv, 0);
}