summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2019-04-30 17:42:42 -0600
committerchrome-bot <chrome-bot@chromium.org>2019-05-02 16:12:31 -0700
commit6a72e23120a99fab124395d83ba2d511a1a6664e (patch)
treec24331688cc554438f9c5ef4085650ab7b4b5bab
parent20467f0bd57bd99836c1bb5d03b029b48f2da132 (diff)
downloadvboot-6a72e23120a99fab124395d83ba2d511a1a6664e.tar.gz
vboot_ui: Add newline to end of error string
The error string "Could not boot from USB" does not have a newline and so the string gets mashed with the one after it into "Could not boot from USBread-only firmware id..." BUG=b:123224593 BRANCH=none TEST=none Change-Id: I57db2fedb7f920ea201b1dd98d31c1f7f6131ad3 Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://chromium-review.googlesource.com/1589847 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org>
-rw-r--r--firmware/lib/vboot_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/lib/vboot_ui.c b/firmware/lib/vboot_ui.c
index 9ccc9aa8..acffc6c0 100644
--- a/firmware/lib/vboot_ui.c
+++ b/firmware/lib/vboot_ui.c
@@ -83,7 +83,7 @@ uint32_t VbTryUsb(struct vb2_context *ctx)
if (VBERROR_SUCCESS == retval) {
VB2_DEBUG("VbBootDeveloper() - booting USB\n");
} else {
- vb2_error_notify("Could not boot from USB",
+ vb2_error_notify("Could not boot from USB\n",
"VbBootDeveloper() - no kernel found on USB\n",
VB_BEEP_FAILED);
/*