mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'contrib/github_pr_8037' into 'master'
Don't return a hard coded errno in vfs_fat_access (GitHub PR) Closes IDFGH-6377 See merge request espressif/esp-idf!16366
This commit is contained in:
commit
b856ea2ff6
@ -865,7 +865,7 @@ static int vfs_fat_access(void* ctx, const char *path, int amode)
|
||||
// it exists then it is readable and executable
|
||||
} else {
|
||||
ret = -1;
|
||||
errno = ENOENT;
|
||||
errno = fresult_to_errno(res);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user