diff options
author | Mihai Serban <mihai.serban@intel.com> | 2016-03-29 16:44:28 +0300 |
---|---|---|
committer | Serban, Mihai <mihai.serban@intel.com> | 2016-03-29 16:47:51 +0100 |
commit | a6a4cc1f87b37500edd7e8446e6e9fadf6049be8 (patch) | |
tree | c93b0bcf88bf4ee81c3f03e6dcdd6c530c7a8bc6 | |
parent | 90eecdb7126078031bcb6155c8504ec6225120d6 (diff) | |
download | edison-u-boot-a6a4cc1f87b37500edd7e8446e6e9fadf6049be8.tar.gz |
fastboot: add a space after the colon in getvar_all output
Change-Id: Ic5b6ff3718c1180f92de8e7a39ca6c0d1c55d7fa
Tracked-On: https://jira01.devtools.intel.com/browse/BP-351
Signed-off-by: Mihai Serban <mihai.serban@intel.com>
Reviewed-on: https://android.intel.com/487502
Reviewed-by: Patru, Irina <irina.patru@intel.com>
Tested-by: Patru, Irina <irina.patru@intel.com>
-rw-r--r-- | drivers/usb/gadget/f_fastboot.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c index 81868cc0f2..b2e9b1eb19 100644 --- a/drivers/usb/gadget/f_fastboot.c +++ b/drivers/usb/gadget/f_fastboot.c @@ -499,27 +499,27 @@ static void getvar_slot_retry_count(char *response, char *cmd, size_t chars_left } static void getvar_all(char *response, char *cmd, size_t chars_left) { - snprintf(response, RESPONSE_LEN, "INFOversion:%s", FASTBOOT_VERSION); + snprintf(response, RESPONSE_LEN, "INFOversion: %s", FASTBOOT_VERSION); struct usb_request *req1 = fastboot_start_ep(fastboot_func->in_ep); req1->complete = fastboot_complete2; fastboot_tx_write_str2(req1, response); - snprintf(response, RESPONSE_LEN, "INFObootloader-version:%s", U_BOOT_VERSION); + snprintf(response, RESPONSE_LEN, "INFOversion-bootloader: %s", U_BOOT_VERSION); struct usb_request *req2 = fastboot_start_ep(fastboot_func->in_ep); req2->complete = fastboot_complete2; fastboot_tx_write_str2(req2, response); - snprintf(response, RESPONSE_LEN, "INFOdownloadsize:0x%08x", CONFIG_FASTBOOT_BUF_SIZE); + snprintf(response, RESPONSE_LEN, "INFOdownloadsize: 0x%08x", CONFIG_FASTBOOT_BUF_SIZE); struct usb_request *req4 = fastboot_start_ep(fastboot_func->in_ep); req4->complete = fastboot_complete2; fastboot_tx_write_str2(req4, response); - snprintf(response, RESPONSE_LEN, "INFOmax-download-size:0x%08x", CONFIG_FASTBOOT_BUF_SIZE); + snprintf(response, RESPONSE_LEN, "INFOmax-download-size: 0x%08x", CONFIG_FASTBOOT_BUF_SIZE); struct usb_request *req5 = fastboot_start_ep(fastboot_func->in_ep); req5->complete = fastboot_complete2; fastboot_tx_write_str2(req5, response); - snprintf(response, RESPONSE_LEN, "INFOserialno:%s", getenv("serial#")); + snprintf(response, RESPONSE_LEN, "INFOserialno: %s", getenv("serial#")); struct usb_request *req6 = fastboot_start_ep(fastboot_func->in_ep); req6->complete = fastboot_complete2; fastboot_tx_write_str2(req6, response); |