From c44d0b867fdc6854bf9ca7a7f3867991f62e2454 Mon Sep 17 00:00:00 2001 From: mjacob Date: Wed, 22 Mar 2006 17:00:14 +0000 Subject: Make scsi_target actually compile after a structure member change. Obtained from: Either Scott, Nate, Ken or A. Nagy --- share/examples/scsi_target/scsi_target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/examples') diff --git a/share/examples/scsi_target/scsi_target.c b/share/examples/scsi_target/scsi_target.c index ef4fd97..c93852f 100644 --- a/share/examples/scsi_target/scsi_target.c +++ b/share/examples/scsi_target/scsi_target.c @@ -890,7 +890,7 @@ get_ctio() se = &c_descr->aiocb.aio_sigevent; se->sigev_notify = SIGEV_KEVENT; se->sigev_notify_kqueue = kq_fd; - se->sigev_value.sigval_ptr = ctio; + se->sigev_value.sival_ptr = ctio; return (ctio); } -- cgit v1.1