svn commit: r347219 - head/stand/common

Toomas Soome tsoome at FreeBSD.org
Tue May 7 07:46:42 UTC 2019


Author: tsoome
Date: Tue May  7 07:46:40 2019
New Revision: 347219
URL: https://svnweb.freebsd.org/changeset/base/347219

Log:
  loader: use safer DPRINTF body for non-debug case

Modified:
  head/stand/common/bcache.c

Modified: head/stand/common/bcache.c
==============================================================================
--- head/stand/common/bcache.c	Tue May  7 05:08:13 2019	(r347218)
+++ head/stand/common/bcache.c	Tue May  7 07:46:40 2019	(r347219)
@@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$");
 #ifdef BCACHE_DEBUG
 # define DPRINTF(fmt, args...)	printf("%s: " fmt "\n" , __func__ , ## args)
 #else
-# define DPRINTF(fmt, args...)
+# define DPRINTF(fmt, args...)	((void)0)
 #endif
 
 struct bcachectl


More information about the svn-src-head mailing list