summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-03 09:36:28 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-04 10:14:23 +0000
commit2e0f3d7770e82c611a2f15dd21b02c55cb487f72 (patch)
tree52a65baa13291c72205b13d9c6eca7c2b578ce98 /src/console
parent31d82b572eab91666561232381652b84393043de (diff)
console/vtxprintf.c: Add required spaces around '>'
Change-Id: I2e1e494f40bf2316e02a96759a92c933ee11fbab Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26024 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/console')
-rw-r--r--src/console/vtxprintf.c2
1 files changed, 1 insertions, 1 deletions
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++;