aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2021-09-24 23:07:11 +0200
committerStefan Roese <sr@denx.de>2021-10-01 11:07:13 +0200
commit5fa04f47d7447ab0a38f248693930c815c978d26 (patch)
tree556fee042fc9bd88dc2777ed20e17ab027e93a5c /tools
parent911515b339109d4bdf992441d5efdf4a6f885f95 (diff)
downloadu-boot-5fa04f47d7447ab0a38f248693930c815c978d26.zip
u-boot-5fa04f47d7447ab0a38f248693930c815c978d26.tar.gz
u-boot-5fa04f47d7447ab0a38f248693930c815c978d26.tar.bz2
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/kwboot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/kwboot.c b/tools/kwboot.c
index 5e491f3..9eb007f 100644
--- a/tools/kwboot.c
+++ b/tools/kwboot.c
@@ -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;