mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-23 12:15:32 +08:00
【修复】修复link系统调用返回值问题
This commit is contained in:
@@ -1379,6 +1379,7 @@ int dfs_file_link(const char *oldname, const char *newname)
|
||||
|
||||
if (dfs_file_isdir(oldname) == 0)
|
||||
{
|
||||
rt_set_errno(-EPERM);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user