am 2c72df99: am 65e461c4: Fix the pagesize argument parsing

Merge commit '2c72df998799738662a77cef3f522fdc6ae22fde'

* commit '2c72df998799738662a77cef3f522fdc6ae22fde':
  Fix the pagesize argument parsing
This commit is contained in:
Maarten Hooft 2010-08-24 17:56:25 -07:00 committed by Android Git Automerger
commit b8185d9108
1 changed files with 2 additions and 2 deletions

View File

@ -121,8 +121,6 @@ int main(int argc, char **argv)
hdr.second_addr = 0x10F00000;
hdr.tags_addr = 0x10000100;
hdr.page_size = pagesize;
while(argc > 0){
char *arg = argv[0];
char *val = argv[1];
@ -159,6 +157,8 @@ int main(int argc, char **argv)
return usage();
}
}
hdr.page_size = pagesize;
if(bootimg == 0) {
fprintf(stderr,"error: no output filename specified\n");