summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Menzel <paulepanter@users.sourceforge.net>2016-11-29 21:02:04 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-02-17 15:42:56 +0000
commit433bf770fc62fe8646b5a0ea795d381e28ec19f6 (patch)
treec2e3f5db7fed3f47776c65efa03832fa0d355313
parentbf33b03acf27d79df9bf1bd8d5075b70196b1844 (diff)
downloadcoreboot-433bf770fc62fe8646b5a0ea795d381e28ec19f6.tar.xz
lib/edid.c: Remove trailing space from detailed mode output
When the bit for interlaced mode is not set, a trailing space is added to the end. As the space is already accounted for in `" interlaced"`, remove that space. TEST=Boot on Lenovo X60t, and verify the trailing space in the detailed mode is gone. Change-Id: I4114c9e61a040fa005c806404ec51c12e2f02f4d Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/17644 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
-rw-r--r--src/lib/edid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/edid.c b/src/lib/edid.c
index 4a2f07ae3e..238fed56a0 100644
--- a/src/lib/edid.c
+++ b/src/lib/edid.c
@@ -573,7 +573,7 @@ detailed_block(struct edid *result_edid, unsigned char *x, int in_extension,
"Detailed mode (IN HEX): Clock %d KHz, %x mm x %x mm\n"
" %04x %04x %04x %04x hborder %x\n"
" %04x %04x %04x %04x vborder %x\n"
- " %chsync %cvsync%s%s %s\n",
+ " %chsync %cvsync%s%s%s\n",
out->mode.pixel_clock,
extra_info.x_mm,
extra_info.y_mm,