提交 9f745c6a 编写于 作者: J JasonJiaJie

[POSIX]

1.Fix parameter error.
上级 b7471649
......@@ -111,12 +111,12 @@ int tcsendbreak(int fd, int dur)
int tcflush(int fd, int queue)
{
return ioctl(fd, TCFLSH, (void*)queue);
return ioctl(fd, TCFLSH, (void*)&queue);
}
int tcflow(int fd, int action)
{
return ioctl(fd, TCXONC, (void*)action);
return ioctl(fd, TCXONC, (void*)&action);
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册