提交 06254cf4 编写于 作者: H Hongze Cheng

fix compile error

上级 b61efa3e
......@@ -278,7 +278,7 @@ ssize_t tsendfile(int dfd, int sfd, off_t *offset, size_t size) {
ssize_t twrite(int fd, void *buf, size_t n) {
size_t nleft = n;
ssize_t nwritten = 0;
char *tbuf = (char *)buf
char *tbuf = (char *)buf;
while (nleft > 0) {
nwritten = write(fd, (void *)tbuf, nleft);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册