Fix stupid wrong-stride bug.

Change-Id: Ic07d7409511adf1b30a9206cef0aa5d18a837897

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/3405024
This commit is contained in:
Bill Richardson
2010-09-24 07:47:47 +08:00
parent a8cba996b7
commit cf0b05a9b7

View File

@@ -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)) {