X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstdio%2F__stdout_write.c;h=0cf7123606ec1f69c563df4f05e19647ac02e87b;hb=a749ba3adc2f3b4abfc68b21d4c3741b20c8f657;hp=4683ffc3b0059c2a5966144d70e0934e2a743db5;hpb=e3cd6c5c265cd481db6e0c5b529855d99f0bda30;p=musl 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); }