Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Oct 2016 19:40:59 +0000 (UTC)
From:      "Conrad E. Meyer" <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r306874 - head/sys/sys
Message-ID:  <201610081940.u98Jexx2029137@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



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