mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
tools: kwboot: Cosmetic fix
Add spaces around the | operator. Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
911515b339
commit
5fa04f47d7
1 changed files with 3 additions and 3 deletions
|
@ -644,7 +644,7 @@ kwboot_open_tty(const char *path, int baudrate)
|
|||
|
||||
rc = -1;
|
||||
|
||||
fd = open(path, O_RDWR|O_NOCTTY|O_NDELAY);
|
||||
fd = open(path, O_RDWR | O_NOCTTY | O_NDELAY);
|
||||
if (fd < 0)
|
||||
goto out;
|
||||
|
||||
|
@ -653,7 +653,7 @@ kwboot_open_tty(const char *path, int baudrate)
|
|||
goto out;
|
||||
|
||||
cfmakeraw(&tio);
|
||||
tio.c_cflag |= CREAD|CLOCAL;
|
||||
tio.c_cflag |= CREAD | CLOCAL;
|
||||
tio.c_cc[VMIN] = 1;
|
||||
tio.c_cc[VTIME] = 0;
|
||||
|
||||
|
@ -1137,7 +1137,7 @@ kwboot_terminal(int tty)
|
|||
}
|
||||
|
||||
kwboot_printv("[Type Ctrl-%c + %c to quit]\r\n",
|
||||
quit[0]|0100, quit[1]);
|
||||
quit[0] | 0100, quit[1]);
|
||||
} else
|
||||
in = -1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue