mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-29 23:53:33 +08:00
UBI: Fix size parsing in "ubi create"
Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
2ee951ba2a
commit
2d2e05727f
@ -546,7 +546,7 @@ static int do_ubi(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||
}
|
||||
/* E.g., create volume size */
|
||||
if (argc == 4) {
|
||||
addr = simple_strtoul(argv[3], NULL, 16);
|
||||
size = simple_strtoul(argv[3], NULL, 16);
|
||||
argc--;
|
||||
}
|
||||
/* Use maximum available size */
|
||||
|
Loading…
Reference in New Issue
Block a user