diff options
author | Christian Melki | 2021-06-07 11:21:15 +0200 |
---|---|---|
committer | Tom Rini | 2021-06-22 13:58:08 -0400 |
commit | c7d1b1890880ee64786b92a1b95ba9ecb4694997 (patch) | |
tree | 2a383168de8bb4b1e95bbe78519c94d856f0dc87 | |
parent | 1ce892cb1ce970d8ee6ffcecc22351c84e67fca4 (diff) |
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: f14c5ee5ab8b ("disk: part_dos: update partition table entries after write")
Signed-off-by: Christian Melki <christian.melki@t2data.com>
-rw-r--r-- | disk/part_dos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disk/part_dos.c b/disk/part_dos.c index 60addc6e00d..9e29aa6583a 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; } |