Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- index 69f94b2..9318954 100644
- --- a/drivers/block/sunxi_nand/nfd/mbr.c
- +++ b/drivers/block/sunxi_nand/nfd/mbr.c
- @@ -132,7 +132,7 @@ int mbr2disks(struct nand_disk* disk_array)
- //查找出所有的LINUX盘符
- for(part_cnt = 0; part_cnt < mbr->PartCount && part_cnt < MAX_PART_COUNT; part_cnt++)
- {
- - if((mbr->array[part_cnt].user_type == 2) || (mbr->array[part_cnt].user_type == 0))
- + if((mbr->array[part_cnt].user_type == 1) || (mbr->array[part_cnt].user_type == 0))
- {
- PRINT("The %d disk name = %s, class name = %s, disk size = %d\n", part_index, mbr->array[part_cnt].name,
- mbr->array[part_cnt].classname, mbr->array[part_cnt].lenlo);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement