diff options
author | Scott Anderson <saa@android.com> | 2012-02-10 17:27:13 -0800 |
---|---|---|
committer | Mike J. Chen <mjchen@google.com> | 2012-03-03 17:29:35 -0800 |
commit | 213db938b8014d06bbfc8325ed7b6c23bf06ea8e (patch) | |
tree | 8f0c6bc03589a5fe6b98ff093a72161f18219565 | |
parent | 19e61a733433f6b82325ac24ac7fae99defba107 (diff) | |
download | uboot-213db938b8014d06bbfc8325ed7b6c23bf06ea8e.tar.gz |
FASTBOOT: Fix sparse: out-length format
The printf that outputs the length of a sparse file had a "0x" in
front of a non-hex format (%llu). I removed the 0x and changed
the format to work better with the way the fastboot program
prints out the messages.
Before:
(bootloader)
sparse: out-length-0x8415 MB
After:
(bootloader) sparse: out-length 8415 MB
Change-Id: I5307c437dd02a5075f06ef728e1e0f58a34c4c94
Signed-off-by: Scott Anderson <saa@android.com>
-rw-r--r-- | common/cmd_fastboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_fastboot.c b/common/cmd_fastboot.c index b37bf8210..85b3b1d37 100644 --- a/common/cmd_fastboot.c +++ b/common/cmd_fastboot.c @@ -963,7 +963,7 @@ static int _unsparse(unsigned char *source, } } - printf("\nsparse: out-length-0x%llu MB\n", outlen/(1024*1024)); + printf("sparse: out-length %llu MB\n", outlen/(1024*1024)); return 0; } |