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
_______________________________________________
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