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>
This commit is contained in:
Brian Swetland 2010-06-28 11:14:26 -07:00
parent 57dbb2cb37
commit 63e5205cd2
2 changed files with 3 additions and 2 deletions

View file

@ -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);

View file

@ -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;
}