Advertisement
Guest User

Untitled

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