Edward O'Callaghan has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/74083 )
Change subject: util/flashchips_db_jsoniser: Fix bug ......................................................................
util/flashchips_db_jsoniser: Fix bug
Spotted-by: Stefan Reinauer reinauer@google.com Change-Id: Ie514f512b5299290a253a56e950c30127e55ca84 Signed-off-by: Edward O'Callaghan quasisec@google.com --- M util/flashchips_db_jsoniser/main.c 1 file changed, 12 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/83/74083/1
diff --git a/util/flashchips_db_jsoniser/main.c b/util/flashchips_db_jsoniser/main.c index 2366296..a1eda3f 100644 --- a/util/flashchips_db_jsoniser/main.c +++ b/util/flashchips_db_jsoniser/main.c @@ -172,7 +172,7 @@ if (j) printf(",\n"); printf("\t\t\t\t\t\t\t{\n"); printf("\t\t\t\t\t\t\t\t"size": %d,\n", block.size); - printf("\t\t\t\t\t\t\t\t"count": %d\n", block.size); + printf("\t\t\t\t\t\t\t\t"count": %d\n", block.count); printf("\t\t\t\t\t\t\t}"); } printf("\t\t\t\t\t\t],\n");