summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2015-11-18 10:13:45 +0000
committerSami Tolvanen <samitolvanen@google.com>2015-11-18 10:13:45 +0000
commit4b71c1b3ab941a3edb258e55eb25dcf5fc013d49 (patch)
tree2c0e54c21d7282b68931a4bb71ce56043ba1fdf3
parent6978131b781d16e6911fa51f68e101abe225de5c (diff)
downloadextras-4b71c1b3ab941a3edb258e55eb25dcf5fc013d49.tar.gz
fec: report correct ecc location for -E
Since the header is now at the end, no need to take that into account when reporting metadata location. Change-Id: I825b5ae9d35b3ca69dead37f246568b4700298a2
-rw-r--r--verity/fec/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/verity/fec/main.cpp b/verity/fec/main.cpp
index 6fa38f92..07b3666a 100644
--- a/verity/fec/main.cpp
+++ b/verity/fec/main.cpp
@@ -156,7 +156,7 @@ static int get_start(int mode, const char *filename)
FATAL("no ecc data\n");
}
- printf("%" PRIu64 "\n", data.start - FEC_BLOCKSIZE);
+ printf("%" PRIu64 "\n", data.start);
} else {
fec_verity_metadata data;