Merge tag 'mmc-5-20' of https://github.com/MrVan/u-boot
[platform/kernel/u-boot.git] / env / ext4.c
index 09c5e4a..388474a 100644 (file)
@@ -60,7 +60,7 @@ static int env_ext4_save(void)
        }
 
        err = ext4fs_write(CONFIG_ENV_EXT4_FILE, (void *)&env_new,
-                          sizeof(env_t));
+                          sizeof(env_t), FILETYPE_REG);
        ext4fs_close();
 
        if (err == -1) {