Permalink
Browse files

the new build now requires page size be a decimal argument.

Change-Id: Ic3c73b988abbfb9d5de73880feb0717f85a982db
  • Loading branch information...
1 parent e2cf4ab commit a2db55cf7c6fafdb13b58d8947259860b5c49585 @koush koush committed Sep 4, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 mkbootimg/unpackbootimg.c
View
4 mkbootimg/unpackbootimg.c
@@ -83,7 +83,7 @@ int main(int argc, char** argv)
fread(&header, sizeof(header), 1, f);
printf("BOARD_KERNEL_CMDLINE %s\n", header.cmdline);
printf("BOARD_KERNEL_BASE %08x\n", header.kernel_addr - 0x00008000);
- printf("BOARD_PAGE_SIZE %08x\n", header.page_size);
+ printf("BOARD_PAGE_SIZE %d\n", header.page_size);
if (pagesize == 0) {
pagesize = header.page_size;
@@ -105,7 +105,7 @@ int main(int argc, char** argv)
sprintf(tmp, "%s/%s", directory, basename(filename));
strcat(tmp, "-pagesize");
char pagesizetmp[200];
- sprintf(pagesizetmp, "%08x", header.page_size);
+ sprintf(pagesizetmp, "%d", header.page_size);
write_string_to_file(tmp, pagesizetmp);
total_read += sizeof(header);

0 comments on commit a2db55c

Please sign in to comment.