Edward O'Callaghan has uploaded this change for review.

View Change

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");

To view, visit change 74083. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ie514f512b5299290a253a56e950c30127e55ca84
Gerrit-Change-Number: 74083
Gerrit-PatchSet: 1
Gerrit-Owner: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-MessageType: newchange