summaryrefslogtreecommitdiff
path: root/libc/termios/tcsetattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/termios/tcsetattr.c')
-rw-r--r--libc/termios/tcsetattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/termios/tcsetattr.c b/libc/termios/tcsetattr.c
index 83bf61d99..76d73796e 100644
--- a/libc/termios/tcsetattr.c
+++ b/libc/termios/tcsetattr.c
@@ -80,7 +80,7 @@ int tcsetattr (int fd, int optional_actions, const struct termios *termios_p)
#ifdef _HAVE_C_OSPEED
k_termios.c_ospeed = termios_p->c_ospeed;
#endif
- memcpy (&k_termios.c_cc[0], &termios_p->c_cc[0],
+ __memcpy (&k_termios.c_cc[0], &termios_p->c_cc[0],
__KERNEL_NCCS * sizeof (cc_t));
retval = ioctl (fd, cmd, &k_termios);