diff options
| author | Koushik Dutta <koushd@gmail.com> | 2012-06-19 21:21:51 -0700 |
|---|---|---|
| committer | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2012-07-10 23:09:00 +0100 |
| commit | 1c541339b5d567a47de686a837df8ebdcdd3ce99 (patch) | |
| tree | 373e9d544297c9cffbebd107e53498fd2babc095 /mkbootimg | |
| parent | b98b6046a88c7bd3ade91e4a3504876bc6005b6e (diff) | |
| download | system_core-1c541339b5d567a47de686a837df8ebdcdd3ce99.tar.gz system_core-1c541339b5d567a47de686a837df8ebdcdd3ce99.tar.bz2 system_core-1c541339b5d567a47de686a837df8ebdcdd3ce99.zip | |
unpackbootimg: Need to also update the written file.
Change-Id: I45faddbae85273c79b2837f97933634b6e70546f
Diffstat (limited to 'mkbootimg')
| -rw-r--r-- | mkbootimg/unpackbootimg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkbootimg/unpackbootimg.c b/mkbootimg/unpackbootimg.c index 0dd97b24..14721a99 100644 --- a/mkbootimg/unpackbootimg.c +++ b/mkbootimg/unpackbootimg.c @@ -120,7 +120,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); |
