fixed bug in BIOS spi flash "fw" command

This commit is contained in:
rprinz08 2020-05-12 16:58:42 +02:00
parent f062c0c44b
commit 1f55fcf449
1 changed files with 1 additions and 1 deletions

View File

@ -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;