mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 03:58:18 -04: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 */
|
/* E.g., create volume size */
|
||||||
if (argc == 4) {
|
if (argc == 4) {
|
||||||
addr = simple_strtoul(argv[3], NULL, 16);
|
size = simple_strtoul(argv[3], NULL, 16);
|
||||||
argc--;
|
argc--;
|
||||||
}
|
}
|
||||||
/* Use maximum available size */
|
/* Use maximum available size */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user