From owner-p4-projects@FreeBSD.ORG Sun Jun 22 08:45:46 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 2B39937B404; Sun, 22 Jun 2003 08:45:46 -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 D4CA637B401 for ; Sun, 22 Jun 2003 08:45:45 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76EE243F75 for ; Sun, 22 Jun 2003 08:45:45 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5MFjj0U055805 for ; Sun, 22 Jun 2003 08:45:45 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5MFjjvV055801 for perforce@freebsd.org; Sun, 22 Jun 2003 08:45:45 -0700 (PDT) Date: Sun, 22 Jun 2003 08:45:45 -0700 (PDT) Message-Id: <200306221545.h5MFjjvV055801@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Subject: PERFORCE change 33527 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2003 15:45:47 -0000 http://perforce.freebsd.org/chv.cgi?CH=33527 Change 33527 by rwatson@rwatson_powerbook on 2003/06/22 08:45:32 We now need to include mbuf.h to get the pkthdr definition; correct typos in argument types hidden by those warnings. Affected files ... .. //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/kern_mac.c#10 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/kern_mac.c#10 (text+ko) ==== @@ -53,6 +53,7 @@ #include #include #include +#include #include #include #include @@ -1116,7 +1117,7 @@ { MAC_PERFORM(destroy_mbuf_label, &m->m_pkthdr.label); - mac_destroy_label(&mk->m_pkthdr.label); + mac_destroy_label(&m->m_pkthdr.label); #ifdef MAC_DEBUG atomic_subtract_int(&nmacmbufs, 1); #endif @@ -1213,7 +1214,7 @@ } void -mac_copy_mbuf(struct mbuf *src, struct dst *dest) +mac_copy_mbuf(struct mbuf *src, struct mbuf *dst) { MAC_PERFORM(copy_mbuf_label, &src->m_pkthdr.label, &dst->m_pkthdr.label);