X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstdio%2Frename.c;h=97f14535e0081109c27de7e135c9359c7b12087a;hb=12e9b4faf68a1a02ebf5ad69c03ac10f170f14cb;hp=4eced08a6656b4c19322a9c3dee85f14ce7c3d12;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl 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); }