global cleanup to use the new syscall interface
[musl] / src / stdio / rename.c
index 4eced08..97f1453 100644 (file)
@@ -3,5 +3,5 @@
 
 int rename(const char *old, const char *new)
 {
-       return syscall2(__NR_rename, (long)old, (long)new);
+       return syscall(SYS_rename, old, new);
 }