summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-04-26 10:00:35 +0200
committerFelix Held <felix-coreboot@felixheld.de>2018-04-28 15:22:12 +0000
commit20767baf0f5a055245c7220f42c2b0e954bf8f08 (patch)
treee4b1e329f5f09441db77ce45bf9c162ecf1a5ed5 /src/console
parent581fe58b8a7c58cc3653a993f2f91ff7e3b16d78 (diff)
downloadcoreboot-20767baf0f5a055245c7220f42c2b0e954bf8f08.tar.xz
src/console: Add spaces around '=='
Change-Id: I61ff3adb573ffc99f37a1cdcbf5d0d83b2dec0ed Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/25854 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/console')
-rw-r--r--src/console/vtxprintf.c4
1 files changed, 2 insertions, 2 deletions
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++;
}