[PATCH] disk/part_dos.c: Fix what looks like a variable typo in the write functionality.

Christian Melki christian.melki at t2data.com
Mon Jun 7 11:21:15 CEST 2021


Signed-off-by: Christian Melki <christian.melki at t2data.com>
---
 disk/part_dos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/disk/part_dos.c b/disk/part_dos.c
index 60addc6e00..9e29aa6583 100644
--- a/disk/part_dos.c
+++ b/disk/part_dos.c
@@ -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;
 }
-- 
2.31.1



More information about the U-Boot mailing list