From owner-p4-projects Sat Jul 6 21:29: 8 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 476A937B401; Sat, 6 Jul 2002 21:29:04 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D23A537B400 for ; Sat, 6 Jul 2002 21:29:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FF7243E42 for ; Sat, 6 Jul 2002 21:29:03 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g674T3JU028007 for ; Sat, 6 Jul 2002 21:29:03 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g674T3hl028004 for perforce@freebsd.org; Sat, 6 Jul 2002 21:29:03 -0700 (PDT) Date: Sat, 6 Jul 2002 21:29:03 -0700 (PDT) Message-Id: <200207070429.g674T3hl028004@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 13850 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=13850 Change 13850 by rwatson@rwatson_curry on 2002/07/06 21:28:51 Typo: check the right vnode field. Affected files ... .. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#159 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#159 (text+ko) ==== @@ -966,7 +966,7 @@ return (0); */ printf("vn_refreshlabel: null v_mount\n"); - if (vp->v_type != VT_NON) + if (vp->v_tag != VT_NON) printf( "vn_refreshlabel: null v_mount with non-VT_NON\n"); return (EBADF); @@ -2315,7 +2315,7 @@ if (vp->v_mount == NULL) { printf("vn_setlabel: null v_mount\n"); - if (vp->v_type != VT_NON) + if (vp->v_tag != VT_NON) printf("vn_setlabel: null v_mount with non-VT_NON\n"); return (EBADF); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message