diff options
author | ambrisko <ambrisko@FreeBSD.org> | 2008-11-14 23:32:31 +0000 |
---|---|---|
committer | ambrisko <ambrisko@FreeBSD.org> | 2008-11-14 23:32:31 +0000 |
commit | b348c714fac9f8f31d6bfa7b258840e8d2bc45ae (patch) | |
tree | 04bb3159a54a2edccb74ba23398e2a8b15459457 /sys/dev/mfi | |
parent | ba6c553529d0211e995ceb640224f07e165c217a (diff) | |
download | FreeBSD-src-b348c714fac9f8f31d6bfa7b258840e8d2bc45ae.zip FreeBSD-src-b348c714fac9f8f31d6bfa7b258840e8d2bc45ae.tar.gz |
Fix compile. I was in the wrong tree when I tested it :-(
Pointed out by: Andrzej
Diffstat (limited to 'sys/dev/mfi')
-rw-r--r-- | sys/dev/mfi/mfi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mfi/mfi.c b/sys/dev/mfi/mfi.c index 18c7400..a2af0ba 100644 --- a/sys/dev/mfi/mfi.c +++ b/sys/dev/mfi/mfi.c @@ -2135,7 +2135,7 @@ mfi_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int flag, d_thread_t *td) /* * not 64bit native so zero out any address * over 32bit */ - sense_ptr.high = 0; + sense_ptr.addr.high = 0; } #endif error = copyout(cm->cm_sense, sense_ptr.user_space, @@ -2366,7 +2366,7 @@ mfi_linux_ioctl_int(struct cdev *dev, u_long cmd, caddr_t arg, int flag, d_threa * only 32bit Linux support so zero out any * address over 32bit */ - sense_ptr.high = 0; + sense_ptr.addr.high = 0; #endif error = copyout(cm->cm_sense, sense_ptr.user_space, l_ioc.lioc_sense_len); |