Fix warning

This commit is contained in:
Francisco Javier Trujillo Mata
2024-04-21 00:13:32 +02:00
parent 6537fada36
commit 781f4ac947

View File

@@ -1099,7 +1099,7 @@ int renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpat
{
// TODO: Do better implementation following https://linux.die.net/man/2/renameat
// for now use the same as rename
return _rename(oldpath, newpath);
return rename(oldpath, newpath);
}
#endif /* F_renameat */