svn commit: r306874 - head/sys/sys

Conrad E. Meyer cem at FreeBSD.org
Sat Oct 8 19:41:00 UTC 2016


Author: cem
Date: Sat Oct  8 19:40:58 2016
New Revision: 306874
URL: https://svnweb.freebsd.org/changeset/base/306874

Log:
  sys/module.h: Unbreak MOD_DPF printf
  
  MOD_DPF's args parameter already has parentheses around it.  This was broken 14
  years ago in r91472.
  
  Sponsored by:	Dell EMC Isilon

Modified:
  head/sys/sys/module.h

Modified: head/sys/sys/module.h
==============================================================================
--- head/sys/sys/module.h	Sat Oct  8 19:32:17 2016	(r306873)
+++ head/sys/sys/module.h	Sat Oct  8 19:40:58 2016	(r306874)
@@ -233,7 +233,7 @@ extern int mod_debug;
 
 #define	MOD_DPF(cat, args) do {						\
 	if (mod_debug & MOD_DEBUG_##cat)				\
-		printf(args);						\
+		printf args;						\
 } while (0)
 
 #else	/* !MOD_DEBUG */


More information about the svn-src-head mailing list