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 */
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to