Fixes #2623: macro for node type introduced, cosmetics
This commit is contained in:
committed by
Bertrand Songis
parent
28b9a70e6b
commit
744c560255
@@ -942,7 +942,7 @@ FRESULT f_unlink (const TCHAR* name)
|
||||
|
||||
FRESULT f_rename(const TCHAR *oldname, const TCHAR *newname)
|
||||
{
|
||||
if ( rename(oldname, newname) < 0) {
|
||||
if (rename(oldname, newname) < 0) {
|
||||
TRACE("f_rename(%s, %s) = error %d (%s)", oldname, newname, errno, strerror(errno));
|
||||
return FR_INVALID_NAME;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user