Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paldier committed Aug 19, 2021
1 parent 451a8c5 commit f08b9b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mitool.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ static int load_buf(void)
FILE *fd;
int bdata = find_bdata();
char path[11];
if(bdata != 9 || bdata != 15 || bdata != 18){
if(bdata != 9 && bdata != 15 && bdata != 18){
printf("Unsupport model!\n");
return -1;
}
Expand All @@ -449,7 +449,7 @@ static int lock_mtd(int t)
char path2[11];
int bdata = find_bdata();
int crash = find_crash();
if(bdata != 9 || bdata != 15 || bdata != 18){
if(bdata != 9 && bdata != 15 && bdata != 18){
printf("Unsupport model!\n");
return -1;
}
Expand Down

0 comments on commit f08b9b1

Please sign in to comment.