Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: utility/dump_fmap.c

Issue 3405024: Fix stupid wrong-stride bug. (Closed) Base URL: http://git.chromium.org/git/vboot_reference.git
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utility/dump_fmap.c
diff --git a/utility/dump_fmap.c b/utility/dump_fmap.c
index a0d24de4de2770101663fee6940a4b0253321c9c..ab92b82a28d463e00bdb6813f362273ae4e5ca2e 100644
--- a/utility/dump_fmap.c
+++ b/utility/dump_fmap.c
@@ -177,7 +177,7 @@ int main(int argc, char *argv[]) {
retval = dump_fmap(s);
break;
}
- s++;
+ s += FMAP_SEARCH_STRIDE;
}
if (0 != munmap(base_of_rom, sb.st_size)) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698