global cleanup to use the new syscall interface
[musl] / src / unistd / renameat.c
index 0dae9f1..1257482 100644 (file)
@@ -3,5 +3,5 @@
 
 int renameat(int oldfd, const char *old, int newfd, const char *new)
 {
-       return syscall4(__NR_renameat, oldfd, (long)old, newfd, (long)new);
+       return syscall(SYS_renameat, oldfd, old, newfd, new);
 }