diff options
Diffstat (limited to 'common')
| -rw-r--r-- | common/cmd_ubi.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/common/cmd_ubi.c b/common/cmd_ubi.c index 495d71ec0..fd33a6710 100644 --- a/common/cmd_ubi.c +++ b/common/cmd_ubi.c @@ -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 */ |