1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 11:55:44 +03:00

ptyfwd: voidify more calls (#10310)

This commit is contained in:
Lennart Poettering 2018-10-08 20:53:35 +02:00 committed by Vito Caputo
parent 29abe1664e
commit 4b3c721234

View File

@ -88,8 +88,8 @@ static void pty_forward_disconnect(PTYForward *f) {
}
/* STDIN/STDOUT should not be nonblocking normally, so let's unconditionally reset it */
fd_nonblock(STDIN_FILENO, false);
fd_nonblock(STDOUT_FILENO, false);
(void) fd_nonblock(STDIN_FILENO, false);
(void) fd_nonblock(STDOUT_FILENO, false);
}
static int pty_forward_done(PTYForward *f, int rcode) {