Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 2003 08:45:45 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 33527 for review
Message-ID:  <200306221545.h5MFjjvV055801@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <sys/sbuf.h>
 #include <sys/systm.h>
 #include <sys/vnode.h>
+#include <sys/mbuf.h>
 #include <sys/mount.h>
 #include <sys/file.h>
 #include <sys/namei.h>
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306221545.h5MFjjvV055801>