summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2015-11-19 15:48:50 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-11-19 15:48:50 +0000
commit8b94ede7a9ff264f339620642acd7f5184f7856a (patch)
treed51e9b340afd7f6ad5942250c28d4fad43f90dff
parent5d84cc42b20fd8133a1e642a4db37bd6b0fb8dd7 (diff)
parent139871346e1b113f2d396fcc2e5b9ca20123d96f (diff)
downloadextras-8b94ede7a9ff264f339620642acd7f5184f7856a.tar.gz
Merge "fec: report correct ecc location for -E"
am: 139871346e * commit '139871346e1b113f2d396fcc2e5b9ca20123d96f': fec: report correct ecc location for -E
-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;