diff options
author | Bjørn Mork <bjorn@mork.no> | 2015-04-16 09:52:31 +0200 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2015-04-16 09:52:31 +0200 |
commit | 9cd9a3964ecb56cd6ec2fc6eec4059aa706f39ab (patch) | |
tree | 8b3e26e6b63d95afd500a68348807b6a38630463 | |
parent | df27b185b7bd4737ed08a9f5369c3d7f18683efe (diff) |
covery: fix cosmetic off-by-one issue
Signed-off-by: Bjørn Mork <bjorn@mork.no>
-rw-r--r-- | covery/src/covery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/covery/src/covery.c b/covery/src/covery.c index e16b92e..97ce73a 100644 --- a/covery/src/covery.c +++ b/covery/src/covery.c @@ -244,7 +244,7 @@ int main(int argc, char *argv[]) if (cmd == 'x' || cmd == 'a') { p = (char *)&rec; fprintf(stderr, "\nErase Size: %d, Write Size: %d\nRecords read: %d\n", - info.erasesize, info.writesize, i - 1); + info.erasesize, info.writesize, i); } if (cmd == 'x') { fprintf(stderr, "Hex Dump of record:\n000000: "); |