fmemopen: fix eof handling, hopefully right this time
[oweals/musl.git] / src / linux / settimeofday.c
index bd7e41046bda0964adfaa1f56699768e2e86e4b6..d741f66bcdfaf056a7f0efb1ae51377c12ac4e53 100644 (file)
@@ -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);
 }