Skip to content

Commit

Permalink
fastboot: make it so I can actually see the bootloader chatter
Browse files Browse the repository at this point in the history
- prefix bootloader messages with (bootloader)
- remove the fancy right justified no newline business

Change-Id: Ica16ebe6a25971db423c5db06300a280d93faf3e
Signed-off-by: Brian Swetland <[email protected]>
  • Loading branch information
swetland committed Jul 1, 2010
1 parent 57dbb2c commit 63e5205
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion fastboot/engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion fastboot/protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 63e5205

Please sign in to comment.