Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2019 07:46:41 +0000 (UTC)
From:      Toomas Soome <tsoome@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r347219 - head/stand/common
Message-ID:  <201905070746.x477kfZm098558@repo.freebsd.org>

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



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