]> git.sven.stormbind.net Git - sven/exfatprogs.git/blobdiff - fsck/repair.c
Update upstream source from tag 'upstream/1.1.0'
[sven/exfatprogs.git] / fsck / repair.c
index 19a2b0d79bd4d24d8b932961e71c96a0a1614ef4..c79d37977f00cb11af642b49d4e7f1310eeefa14 100644 (file)
@@ -33,15 +33,16 @@ static const char *prompts[] = {
 };
 
 static struct exfat_repair_problem problems[] = {
-       {ER_BS_CHECKSUM, ERF_DEFAULT_YES | ERF_PREEN_YES, ERP_FIX},
-       {ER_DE_CHECKSUM, ERF_DEFAULT_YES | ERF_PREEN_YES, ERP_FIX},
-       {ER_FILE_VALID_SIZE, ERF_DEFAULT_YES | ERF_PREEN_YES, ERP_FIX},
+       {ER_BS_CHECKSUM, ERF_PREEN_YES, ERP_FIX},
+       {ER_BS_BOOT_REGION, 0, ERP_FIX},
+       {ER_DE_CHECKSUM, ERF_PREEN_YES, ERP_FIX},
+       {ER_FILE_VALID_SIZE, ERF_PREEN_YES, ERP_FIX},
        {ER_FILE_INVALID_CLUS, ERF_DEFAULT_NO, ERP_TRUNCATE},
        {ER_FILE_FIRST_CLUS, ERF_DEFAULT_NO, ERP_TRUNCATE},
        {ER_FILE_SMALLER_SIZE, ERF_DEFAULT_NO, ERP_TRUNCATE},
        {ER_FILE_LARGER_SIZE, ERF_DEFAULT_NO, ERP_TRUNCATE},
        {ER_FILE_DUPLICATED_CLUS, ERF_DEFAULT_NO, ERP_TRUNCATE},
-       {ER_FILE_ZERO_NOFAT, ERF_DEFAULT_YES | ERF_PREEN_YES, ERP_FIX},
+       {ER_FILE_ZERO_NOFAT, ERF_PREEN_YES, ERP_FIX},
 };
 
 static struct exfat_repair_problem *find_problem(er_problem_code_t prcode)