diff options
author | Brian Swetland <swetland@google.com> | 2010-06-28 11:14:26 -0700 |
---|---|---|
committer | Brian Swetland <swetland@google.com> | 2010-07-01 13:54:13 -0700 |
commit | 63e5205cd2f693bbfa54411f2dd20354bd30ffd8 (patch) | |
tree | 67f5f450fa615c24cf85e1e08444d346d418368c /fastboot | |
parent | 57dbb2cb3767c625cfc8d15406b2c4d6b53bb7c6 (diff) | |
download | core-63e5205cd2f693bbfa54411f2dd20354bd30ffd8.tar.gz core-63e5205cd2f693bbfa54411f2dd20354bd30ffd8.tar.bz2 core-63e5205cd2f693bbfa54411f2dd20354bd30ffd8.zip |
fastboot: make it so I can actually see the bootloader chatter
- prefix bootloader messages with (bootloader)
- remove the fancy right justified no newline business
Change-Id: Ica16ebe6a25971db423c5db06300a280d93faf3e
Signed-off-by: Brian Swetland <swetland@google.com>
Diffstat (limited to 'fastboot')
-rw-r--r-- | fastboot/engine.c | 3 | ||||
-rw-r--r-- | fastboot/protocol.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/fastboot/engine.c b/fastboot/engine.c index 6d62c6e22..8ba202cd1 100644 --- a/fastboot/engine.c +++ b/fastboot/engine.c @@ -285,7 +285,8 @@ void fb_execute_queue(usb_handle *usb) a->start = now(); if (start < 0) start = a->start; if (a->msg) { - fprintf(stderr,"%30s... ",a->msg); + // fprintf(stderr,"%30s... ",a->msg); + fprintf(stderr,"%s...\n",a->msg); } if (a->op == OP_DOWNLOAD) { status = fb_download_data(usb, a->data, a->size); diff --git a/fastboot/protocol.c b/fastboot/protocol.c index c788a12ff..3948363d9 100644 --- a/fastboot/protocol.c +++ b/fastboot/protocol.c @@ -62,7 +62,7 @@ static int check_response(usb_handle *usb, unsigned size, } if(!memcmp(status, "INFO", 4)) { - fprintf(stderr,"%s\n", status); + fprintf(stderr,"(bootloader) %s\n", status + 4); continue; } |