diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2012-02-28 13:32:19 -0800 |
---|---|---|
committer | Stefan Reinauer <reinauer@chromium.org> | 2012-02-28 14:25:15 -0800 |
commit | 5ee257d94cb8aab2f3717c5cd4ceb37fbba3ec41 (patch) | |
tree | 1ed914d1f70966a39915962ee3a53a8e8e8c229a | |
parent | 5fac757abef456bf66d9dd96b316ec61fe04b48e (diff) | |
download | vboot-5ee257d94cb8aab2f3717c5cd4ceb37fbba3ec41.tar.gz |
Add new line after printing non-zero GBB flags.
Callers of vboot might print some additional information in
VbExDisplayDebugInfo(). Add a new line to the end of the buffer
so that output is aligned with the normal <tab> information.
BUG=none
TEST=set gbb flags to 1, see cursor go to next line at dev screen.
Change-Id: I8dd77404338a05bddc5f3ec54d7b65c890a60c50
Reviewed-on: https://gerrit.chromium.org/gerrit/17001
Tested-by: Stefan Reinauer <reinauer@chromium.org>
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Commit-Ready: Stefan Reinauer <reinauer@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r-- | firmware/lib/vboot_display.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/lib/vboot_display.c b/firmware/lib/vboot_display.c index 5e705c7e..3649fd1f 100644 --- a/firmware/lib/vboot_display.c +++ b/firmware/lib/vboot_display.c @@ -321,6 +321,7 @@ VbError_t VbDisplayScreenFromGBB(VbCommonParams* cparams, uint32_t screen, used += Strncat(outbuf + used, "gbb.flags is nonzero: 0x", OUTBUF_LEN - used); used += Uint64ToString(outbuf + used, OUTBUF_LEN - used, gbb->flags, 16, 8); + used += Strncat(outbuf + used, "\n", OUTBUF_LEN - used); (void)VbExDisplayDebugInfo(outbuf); } |