From owner-svn-src-head@FreeBSD.ORG Fri Nov 14 23:32:32 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CDC41065677; Fri, 14 Nov 2008 23:32:32 +0000 (UTC) (envelope-from ambrisko@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 50FDE8FC13; Fri, 14 Nov 2008 23:32:32 +0000 (UTC) (envelope-from ambrisko@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mAENWVMp004467; Fri, 14 Nov 2008 23:32:31 GMT (envelope-from ambrisko@svn.freebsd.org) Received: (from ambrisko@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mAENWVB0004466; Fri, 14 Nov 2008 23:32:31 GMT (envelope-from ambrisko@svn.freebsd.org) Message-Id: <200811142332.mAENWVB0004466@svn.freebsd.org> From: Doug Ambrisko Date: Fri, 14 Nov 2008 23:32:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184975 - head/sys/dev/mfi X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2008 23:32:32 -0000 Author: ambrisko Date: Fri Nov 14 23:32:31 2008 New Revision: 184975 URL: http://svn.freebsd.org/changeset/base/184975 Log: Fix compile. I was in the wrong tree when I tested it :-( Pointed out by: Andrzej Modified: head/sys/dev/mfi/mfi.c Modified: head/sys/dev/mfi/mfi.c ============================================================================== --- head/sys/dev/mfi/mfi.c Fri Nov 14 21:05:45 2008 (r184974) +++ head/sys/dev/mfi/mfi.c Fri Nov 14 23:32:31 2008 (r184975) @@ -2135,7 +2135,7 @@ mfi_ioctl(struct cdev *dev, u_long cmd, /* * 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_ * 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);