From 5fa04f47d7447ab0a38f248693930c815c978d26 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Beh=C3=BAn?= Date: Fri, 24 Sep 2021 23:07:11 +0200 Subject: [PATCH] tools: kwboot: Cosmetic fix MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Add spaces around the | operator. Signed-off-by: Marek Behún Reviewed-by: Stefan Roese --- tools/kwboot.c | 6 +++--- 1 file 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; -- 2.7.4