diff options
Diffstat (limited to 'flow-native/unix')
-rw-r--r-- | flow-native/unix/src/flow.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/flow-native/unix/src/flow.c b/flow-native/unix/src/flow.c index 8aae2b7..aa1b213 100644 --- a/flow-native/unix/src/flow.c +++ b/flow-native/unix/src/flow.c @@ -134,7 +134,8 @@ int serial_open(const char* port_name, int baud, struct serial_config** serial) } int pipe_fd[2]; - if (pipe2(pipe_fd, O_NONBLOCK) < 0) { +//TODO make pipe non-blocking + if (pipe(pipe_fd) < 0) { DEBUG(perror("open pipe");); close(fd); return E_IO; |