aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/simulator/serial.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simulator/serial.c b/src/simulator/serial.c
index 3c7d008d..d2d183f4 100644
--- a/src/simulator/serial.c
+++ b/src/simulator/serial.c
@@ -14,7 +14,8 @@ serial_init(void)
{
// Make stdin/stdout non-blocking
fcntl(STDIN_FILENO, F_SETFL, fcntl(STDIN_FILENO, F_GETFL, 0) | O_NONBLOCK);
- fcntl(STDOUT_FILENO, F_SETFL, fcntl(STDOUT_FILENO, F_GETFL, 0) | O_NONBLOCK);
+ fcntl(STDOUT_FILENO, F_SETFL
+ , fcntl(STDOUT_FILENO, F_GETFL, 0) | O_NONBLOCK);
}
DECL_INIT(serial_init);