svn commit: r210443 - head/sys/sys

Alexander Motin mav at FreeBSD.org
Sat Jul 24 10:07:18 UTC 2010


Author: mav
Date: Sat Jul 24 10:07:17 2010
New Revision: 210443
URL: http://svn.freebsd.org/changeset/base/210443

Log:
  Remove extra commas from KTR_EVENT4() macro to match number of CTR6() args.
  Comparing to other macros there should be strings concatenation, not a
  separate arguments.

Modified:
  head/sys/sys/ktr.h

Modified: head/sys/sys/ktr.h
==============================================================================
--- head/sys/sys/ktr.h	Sat Jul 24 10:04:35 2010	(r210442)
+++ head/sys/sys/ktr.h	Sat Jul 24 10:07:17 2010	(r210443)
@@ -188,7 +188,7 @@ void	ktr_tracepoint(u_int mask, const ch
 	    ident, edat, (v0), (v1), (v2))
 #define	KTR_EVENT4(m, egroup, ident, etype, edat,			\
 	    a0, v0, a1, v1, a2, v2, a3, v3)				\
-	CTR6(m,KTR_EFMT(egroup, ident, etype) a0 ", " a1 ", " a2, ", ", a3,\
+	CTR6(m,KTR_EFMT(egroup, ident, etype) a0 ", " a1 ", " a2 ", " a3,\
 	     ident, edat, (v0), (v1), (v2), (v3))
 
 /*


More information about the svn-src-all mailing list