mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
disk/part_dos.c: Fix a variable typo in write_mbr_partitions()
This function is passed *dev not *dev_desc, so pass the right name to
part_init().
Fixes: f14c5ee5ab
("disk: part_dos: update partition table entries after write")
Signed-off-by: Christian Melki <christian.melki@t2data.com>
This commit is contained in:
parent
1ce892cb1c
commit
c7d1b18908
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ int write_mbr_partitions(struct blk_desc *dev,
|
|||
}
|
||||
|
||||
/* Update the partition table entries*/
|
||||
part_init(dev_desc);
|
||||
part_init(dev);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue