about summary refs log tree commit diff
path: root/src/stdio/__stdout_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/__stdout_write.c')
-rw-r--r--src/stdio/__stdout_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio/__stdout_write.c b/src/stdio/__stdout_write.c
index 4683ffc3..0cf71236 100644
--- a/src/stdio/__stdout_write.c
+++ b/src/stdio/__stdout_write.c
@@ -4,7 +4,7 @@ size_t __stdout_write(FILE *f, const unsigned char *buf, size_t len)
 {
 	struct termios tio;
 	f->write = __stdio_write;
-	if (!(f->flags & F_SVB) && syscall(SYS_ioctl, f->fd, TCGETS, &tio))
+	if (!(f->flags & F_SVB) && __syscall(SYS_ioctl, f->fd, TCGETS, &tio))
 		f->lbf = -1;
 	return __stdio_write(f, buf, len);
 }