diff options
Diffstat (limited to 'src/unistd/renameat.c')
-rw-r--r-- | src/unistd/renameat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/renameat.c b/src/unistd/renameat.c index 0dae9f11..12574822 100644 --- a/src/unistd/renameat.c +++ b/src/unistd/renameat.c @@ -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); } |