From owner-freebsd-current Mon May 18 23:08:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA23266 for freebsd-current-outgoing; Mon, 18 May 1998 23:08:19 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from parkplace.cet.co.jp (parkplace.cet.co.jp [202.32.64.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA23155 for ; Mon, 18 May 1998 23:08:00 -0700 (PDT) (envelope-from michaelh@cet.co.jp) Received: from localhost (michaelh@localhost) by parkplace.cet.co.jp (8.8.8/CET-v2.2) with SMTP id GAA27240; Tue, 19 May 1998 06:06:49 GMT Date: Tue, 19 May 1998 15:06:49 +0900 (JST) From: Michael Hancock To: Karl Denninger cc: current@FreeBSD.ORG Subject: Re: 'Dat is dis? In-Reply-To: <19980518163957.07833@mcs.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Index: vm/vm_mmap.c =================================================================== RCS file: /usr/cvs/src/sys/vm/vm_mmap.c,v retrieving revision 1.76 diff -p -u -r1.76 vm_mmap.c --- vm_mmap.c 1998/05/18 18:26:27 1.76 +++ vm_mmap.c 1998/05/19 02:56:02 @@ -55,6 +55,7 @@ #include #include #include +#include #include #include #include @@ -299,6 +300,7 @@ mmap(p, uap) if ((flags & MAP_SHARED) != 0 || (vp->v_type == VCHR && disablexworkaround)) { if ((fp->f_flag & FWRITE) != 0) { + struct vattr va; if ((error = VOP_GETATTR(vp, &va, p->p_ucred, p))) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message