From owner-p4-projects Thu Oct 3 12:35:35 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id DD65237B404; Thu, 3 Oct 2002 12:35:33 -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 770F337B401 for ; Thu, 3 Oct 2002 12:35:33 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34D1243E42 for ; Thu, 3 Oct 2002 12:35:33 -0700 (PDT) (envelope-from cvance@tislabs.com) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g93JZXCo002817 for ; Thu, 3 Oct 2002 12:35:33 -0700 (PDT) (envelope-from cvance@tislabs.com) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g93JZWo7002811 for perforce@freebsd.org; Thu, 3 Oct 2002 12:35:32 -0700 (PDT) Date: Thu, 3 Oct 2002 12:35:32 -0700 (PDT) Message-Id: <200210031935.g93JZWo7002811@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to cvance@tislabs.com using -f From: Chris Vance Subject: PERFORCE change 18600 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=18600 Change 18600 by cvance@cvance_laptop on 2002/10/03 12:34:50 Fix compiler warnings Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/sebsd/avc/avc.c#7 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/sebsd/avc/avc.c#7 (text+ko) ==== @@ -40,6 +40,7 @@ MALLOC_DEFINE(M_SEBSD_AVC, "sebsd", "Security Enhanced BSD Access Vector Cache"); +extern int ss_initialized; int avc_debug_always_allow = 1; typedef struct avc_node { @@ -498,7 +499,7 @@ VOP_GETATTR(vp, &va, curthread->td_ucred, curthread)) { - printf(" inode=%d, fsid=%d, ftype=%d", + printf(" inode=%ld, fsid=%d, ftype=%d", va.va_fileid, va.va_fsid, vp->v_type); } else { @@ -841,7 +842,6 @@ int sys_avc_toggle(struct thread *td) { - extern int ss_initialized; int error; /* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message