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>
This commit is contained in:
parent
1222a73205
commit
3c80408fc8
|
@ -52,7 +52,7 @@ void console_tx_hex32(unsigned int value)
|
||||||
void console_tx_string(const char *str)
|
void console_tx_string(const char *str)
|
||||||
{
|
{
|
||||||
unsigned char ch;
|
unsigned char ch;
|
||||||
while((ch = *str++) != '\0') {
|
while ((ch = *str++) != '\0') {
|
||||||
if (ch == '\n')
|
if (ch == '\n')
|
||||||
console_tx_byte('\r');
|
console_tx_byte('\r');
|
||||||
console_tx_byte(ch);
|
console_tx_byte(ch);
|
||||||
|
|
|
@ -106,7 +106,7 @@ static int number(void (*tx_byte)(unsigned char byte, void *data),
|
||||||
precision = i;
|
precision = i;
|
||||||
size -= precision;
|
size -= precision;
|
||||||
if (!(type&(ZEROPAD+LEFT)))
|
if (!(type&(ZEROPAD+LEFT)))
|
||||||
while(size-->0)
|
while (size-->0)
|
||||||
call_tx(' '), count++;
|
call_tx(' '), count++;
|
||||||
if (sign)
|
if (sign)
|
||||||
call_tx(sign), count++;
|
call_tx(sign), count++;
|
||||||
|
|
Loading…
Reference in New Issue