summaryrefslogtreecommitdiff
path: root/lib/libc/src/tty
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-19 21:21:15 -0400
committerIan Moffett <ian@osmora.org>2024-05-19 21:21:15 -0400
commitd13ff179e6c1fc418891e6f55943313f1cf2bdc8 (patch)
treef789fb0d3b6d47dd600e30cd0701dffa60b89588 /lib/libc/src/tty
parent08e688d151bbe676353a47b1e8ccfc5ea868db01 (diff)
libc: termios: Add missing `op` arg
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc/src/tty')
-rw-r--r--lib/libc/src/tty/attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/src/tty/attr.c b/lib/libc/src/tty/attr.c
index 4edbece..3061844 100644
--- a/lib/libc/src/tty/attr.c
+++ b/lib/libc/src/tty/attr.c
@@ -38,7 +38,7 @@ tcgetattr(int fd, struct termios *termios_p)
}
int
-tcsetattr(int fd, struct termios *termios_p)
+tcsetattr(int fd, int op, struct termios *termios_p)
{
return ioctl(fd, TCSETS, termios_p);
}