PERFORCE change 33527 for review

Robert Watson rwatson at FreeBSD.org
Sun Jun 22 15:45:45 GMT 2003


http://perforce.freebsd.org/chv.cgi?CH=33527

Change 33527 by rwatson at 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);
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list