summaryrefslogtreecommitdiffstats
path: root/fastboot
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-04-10 15:34:19 -0700
committerElliott Hughes <enh@google.com>2018-04-10 15:34:19 -0700
commit234910bc3ba5d34bf73864632834e923bf56e485 (patch)
tree269cde1d9ddb9cb64a9a2c9f50f37680f37d7ee7 /fastboot
parent42b18a518bac85c3eea14206f6cbafbd1e98a31f (diff)
downloadsystem_core-234910bc3ba5d34bf73864632834e923bf56e485.tar.gz
system_core-234910bc3ba5d34bf73864632834e923bf56e485.tar.bz2
system_core-234910bc3ba5d34bf73864632834e923bf56e485.zip
Add quotes to -v INFO/OKAY/FAIL for clarity.
This makes it easier to see which part came from the device. Bug: N/A Test: fastboot -v flashall Change-Id: Ie6f4b02933cab21f343998b5fc84f8e487dd3984
Diffstat (limited to 'fastboot')
-rw-r--r--fastboot/protocol.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fastboot/protocol.cpp b/fastboot/protocol.cpp
index 8c20262e5..a08956749 100644
--- a/fastboot/protocol.cpp
+++ b/fastboot/protocol.cpp
@@ -75,13 +75,13 @@ static int64_t check_response(Transport* transport, uint32_t size, char* respons
}
if (!memcmp(status, "INFO", 4)) {
- verbose("received INFO %s", status + 4);
+ verbose("received INFO \"%s\"", status + 4);
fprintf(stderr, "(bootloader) %s\n", status + 4);
continue;
}
if (!memcmp(status, "OKAY", 4)) {
- verbose("received OKAY %s", status + 4);
+ verbose("received OKAY \"%s\"", status + 4);
if (response) {
strcpy(response, status + 4);
}
@@ -89,7 +89,7 @@ static int64_t check_response(Transport* transport, uint32_t size, char* respons
}
if (!memcmp(status, "FAIL", 4)) {
- verbose("received FAIL %s", status + 4);
+ verbose("received FAIL \"%s\"", status + 4);
if (r > 4) {
g_error = android::base::StringPrintf("remote: %s", status + 4);
} else {