From 2e0f3d7770e82c611a2f15dd21b02c55cb487f72 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Thu, 3 May 2018 09:36:28 +0200 Subject: console/vtxprintf.c: Add required spaces around '>' Change-Id: I2e1e494f40bf2316e02a96759a92c933ee11fbab Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26024 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/console/vtxprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c index 88295a2c1a..63e670396d 100644 --- a/src/console/vtxprintf.c +++ b/src/console/vtxprintf.c @@ -106,7 +106,7 @@ static int number(void (*tx_byte)(unsigned char byte, void *data), precision = i; size -= precision; if (!(type&(ZEROPAD+LEFT))) - while (size-->0) + while (size-- > 0) call_tx(' '), count++; if (sign) call_tx(sign), count++; -- cgit v1.2.3