[Feature][task-view-998]merge P56U10 version
Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No
Change-Id: Id05b15148bef69d7b4642d18cc40564e5ef0c9a0
diff --git a/ap/app/fs_check/mtd.c b/ap/app/fs_check/mtd.c
index c610bf0..4b0322d 100755
--- a/ap/app/fs_check/mtd.c
+++ b/ap/app/fs_check/mtd.c
@@ -423,6 +423,7 @@
sc_debug_info_record(MODULE_ID_AP_FS_CHECK, "fs_check file: %s permission loss \n",NV_FS_RW_BACKUP_SYMBOL_PATH);
return -1;//²é¿´backup_flagÎļþÊÇ·ñ¿É¶Áд
}
+#ifndef USE_CAP_SUPPORT
if(access(NV_FS_RW_AP_NV_MAIN_PATH, W_OK | R_OK) < 0)
{
printf("fs_check file: %s permission loss \n",NV_FS_RW_AP_NV_MAIN_PATH);
@@ -435,6 +436,7 @@
sc_debug_info_record(MODULE_ID_AP_FS_CHECK, "fs_check file: %s permission loss \n",NV_FS_RW_AP_NV_BACKUP_PATH);
return -1;//²é¿´apϱ¸·ÝnvÎļþÊÇ·ñ¿É¶Áд
}
+#endif
return 0;
}