X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Frenameat.c;h=125748221f13c3a4fe5fb33684f309c18f802ed7;hb=e42a977fe5dbe48ba45072ab82886e6b5a694487;hp=0dae9f11d4861f44a4219353ee92d082dd6ca03f;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl 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); }