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>
diff --git a/fastboot/engine.c b/fastboot/engine.c
index 6d62c6e..8ba202c 100644
--- a/fastboot/engine.c
+++ b/fastboot/engine.c
@@ -285,7 +285,8 @@
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 c788a12..3948363 100644
--- a/fastboot/protocol.c
+++ b/fastboot/protocol.c
@@ -62,7 +62,7 @@
}
if(!memcmp(status, "INFO", 4)) {
- fprintf(stderr,"%s\n", status);
+ fprintf(stderr,"(bootloader) %s\n", status + 4);
continue;
}