mirror of https://github.com/pbatard/rufus.git
Update badblocks.c
This commit is contained in:
parent
2e1833e91e
commit
7930e2b01a
|
@ -184,10 +184,7 @@ static int bb_u64_list_find(bb_u64_list bb, blk64_t blk)
|
|||
*/
|
||||
static int bb_u64_list_test(bb_u64_list bb, blk64_t blk)
|
||||
{
|
||||
if (bb_u64_list_find(bb, blk) < 0)
|
||||
return 0;
|
||||
else
|
||||
return 1;
|
||||
return bb_u64_list_find(bb, blk) < 0 ? 0 : 1;
|
||||
}
|
||||
|
||||
static int bb_badblocks_list_test(bb_badblocks_list bb, blk64_t blk)
|
||||
|
|
Loading…
Reference in New Issue