From 20714220fca58791f3a931d50d65f12dc7a60466 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 28 Feb 2012 13:32:19 -0800 Subject: 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 information. BUG=none TEST=set gbb flags to 1, see cursor go to next line at dev screen. Reviewed-on: https://gerrit.chromium.org/gerrit/17001 Tested-by: Stefan Reinauer Reviewed-by: Bill Richardson Commit-Ready: Stefan Reinauer Reviewed-by: Randall Spangler (cherry picked from commit 5ee257d94cb8aab2f3717c5cd4ceb37fbba3ec41) Change-Id: I49aa04900ac34d76213a49d00b97f13ad22f5d58 Reviewed-on: https://gerrit.chromium.org/gerrit/17008 Tested-by: Stefan Reinauer Reviewed-by: Duncan Laurie --- firmware/lib/vboot_display.c | 1 + 1 file changed, 1 insertion(+) 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); } -- cgit v1.2.1