提交 f0a8d60d 编写于 作者: R Rich Felker

stupid typo (caused by rather ugly spelling in POSIX..) in aio

上级 067bdc2c
......@@ -17,7 +17,7 @@ extern "C" {
#include <bits/alltypes.h>
struct aiocb {
int aio_filedes, aio_lio_opcode, aio_reqprio;
int aio_fildes, aio_lio_opcode, aio_reqprio;
volatile void *aio_buf;
size_t aio_nbytes;
struct sigevent aio_sigevent;
......
......@@ -23,7 +23,7 @@ static void notify_signal(struct sigevent *sev)
static void *io_thread(void *p)
{
struct aiocb *cb = p;
int fd = cb->aio_filedes;
int fd = cb->aio_fildes;
void *buf = (void *)cb->aio_buf;
size_t len = cb->aio_nbytes;
off_t off = cb->aio_offset;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册