remove another invalid skip of locking in ungetwc
[oweals/musl.git] / src / unistd / renameat.c
index 0dae9f11d4861f44a4219353ee92d082dd6ca03f..125748221f13c3a4fe5fb33684f309c18f802ed7 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);
 }