fixed bug in BIOS spi flash "fw" command
This commit is contained in:
parent
f062c0c44b
commit
1f55fcf449
|
@ -43,7 +43,7 @@ static void fw(int nb_params, char **params)
|
|||
if (nb_params == 2) {
|
||||
count = 1;
|
||||
} else {
|
||||
count = strtoul(count, &c, 0);
|
||||
count = strtoul(params[2], &c, 0);
|
||||
if (*c != 0) {
|
||||
printf("Incorrect count");
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue