X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fstdio%2Frename.c;h=97f14535e0081109c27de7e135c9359c7b12087a;hp=4eced08a6656b4c19322a9c3dee85f14ce7c3d12;hb=HEAD;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01 diff --git a/src/stdio/rename.c b/src/stdio/rename.c index 4eced08a..97f14535 100644 --- a/src/stdio/rename.c +++ b/src/stdio/rename.c @@ -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); }