1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

s/sigval/sival/g

This commit is contained in:
David Xu 2006-01-22 03:46:03 +00:00
parent 9f8a02f168
commit 77efa49867
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154668
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ main(int argc, char *argv[]){
iocb[i]->aio_offset = iocb[i]->aio_nbytes * i * run;
iocb[i]->aio_sigevent.sigev_notify_kqueue = kq;
iocb[i]->aio_sigevent.sigev_value.sigval_ptr = iocb[i];
iocb[i]->aio_sigevent.sigev_value.sival_ptr = iocb[i];
iocb[i]->aio_sigevent.sigev_notify = SIGEV_KEVENT;
result = aio_write(iocb[i]);

View File

@ -116,7 +116,7 @@ main(int argc, char *argv[]){
iocb[k]->aio_lio_opcode = LIO_WRITE;
}
sig.sigev_notify_kqueue = kq;
sig.sigev_value.sigval_ptr = lio[j];
sig.sigev_value.sival_ptr = lio[j];
sig.sigev_notify = SIGEV_KEVENT;
time(&time1);
result = lio_listio(LIO_NOWAIT, lio[j],