OSDN Git Service

Merge "bootctl: Fix the error checking for strtol result."
authorTao Bao <tbao@google.com>
Fri, 20 Nov 2015 05:56:17 +0000 (05:56 +0000)
committerGerrit Code Review <noreply-gerritcodereview@google.com>
Fri, 20 Nov 2015 05:56:17 +0000 (05:56 +0000)
verity/fec/main.cpp

index 6fa38f9..07b3666 100644 (file)
@@ -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;