mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Fix typo in comparison
This commit is contained in:
parent
80cad41cc2
commit
ff8b78227a
@ -303,7 +303,7 @@ static void _mount(void)
|
||||
struct dirent *d;
|
||||
DIR *dh = opendir(BASE_PATH);
|
||||
if (!dh) {
|
||||
if (errno = ENOENT) {
|
||||
if (errno == ENOENT) {
|
||||
//If the directory is not found
|
||||
ESP_LOGE(TAG, "Directory doesn't exist %s", BASE_PATH);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user