diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2016-08-25 21:02:20 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-08-31 20:06:20 +0200 |
commit | 3c80408fc8aa7b4099493acd7420f8d62ce65a48 (patch) | |
tree | d0971b8f9fda747d05af9aca14171fa7b9fbc6f0 /src/console | |
parent | 1222a73205bd3a0faba988411b4aec6ea8de1059 (diff) | |
download | coreboot-3c80408fc8aa7b4099493acd7420f8d62ce65a48.tar.gz coreboot-3c80408fc8aa7b4099493acd7420f8d62ce65a48.tar.bz2 coreboot-3c80408fc8aa7b4099493acd7420f8d62ce65a48.zip |
src/console: Add required space before opening parenthesis '('
Change-Id: Ibb2ce383322c174bdb3bcc88ae35c17f179f6d21
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/16323
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/early_print.c | 2 | ||||
-rw-r--r-- | src/console/vtxprintf.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/console/early_print.c b/src/console/early_print.c index 900dd5d7a3b5..569b99dea83d 100644 --- a/src/console/early_print.c +++ b/src/console/early_print.c @@ -52,7 +52,7 @@ void console_tx_hex32(unsigned int value) void console_tx_string(const char *str) { unsigned char ch; - while((ch = *str++) != '\0') { + while ((ch = *str++) != '\0') { if (ch == '\n') console_tx_byte('\r'); console_tx_byte(ch); diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c index 8b4d4146b39d..d20a387d44ff 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++; |