From 20767baf0f5a055245c7220f42c2b0e954bf8f08 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Thu, 26 Apr 2018 10:00:35 +0200 Subject: src/console: Add spaces around '==' Change-Id: I61ff3adb573ffc99f37a1cdcbf5d0d83b2dec0ed Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/25854 Reviewed-by: Paul Menzel Reviewed-by: Felix Held Tested-by: build bot (Jenkins) --- src/console/vtxprintf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/console') diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c index acf2f80f7f..88295a2c1a 100644 --- a/src/console/vtxprintf.c +++ b/src/console/vtxprintf.c @@ -111,9 +111,9 @@ static int number(void (*tx_byte)(unsigned char byte, void *data), if (sign) call_tx(sign), count++; if (type & SPECIAL) { - if (base==8) + if (base == 8) call_tx('0'), count++; - else if (base==16) { + else if (base == 16) { call_tx('0'), count++; call_tx(digits[33]), count++; } -- cgit v1.2.3