mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
Update badblocks.c
This commit is contained in:
parent
2e1833e91e
commit
7930e2b01a
1 changed files with 1 additions and 4 deletions
|
@ -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)
|
static int bb_u64_list_test(bb_u64_list bb, blk64_t blk)
|
||||||
{
|
{
|
||||||
if (bb_u64_list_find(bb, blk) < 0)
|
return bb_u64_list_find(bb, blk) < 0 ? 0 : 1;
|
||||||
return 0;
|
|
||||||
else
|
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int bb_badblocks_list_test(bb_badblocks_list bb, blk64_t blk)
|
static int bb_badblocks_list_test(bb_badblocks_list bb, blk64_t blk)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue