aboutsummaryrefslogtreecommitdiff
path: root/stand/common
diff options
context:
space:
mode:
authorToomas Soome <tsoome@FreeBSD.org>2019-05-07 07:46:40 +0000
committerToomas Soome <tsoome@FreeBSD.org>2019-05-07 07:46:40 +0000
commit74772ef1ae6b9a43b4fb7511b55a8a89ba3e202d (patch)
treed3233a5fed50b32b6cf36be9aa5080cd252caab1 /stand/common
parent52a9e429c899a60526668042dff13b785a5824fe (diff)
downloadsrc-74772ef1ae6b9a43b4fb7511b55a8a89ba3e202d.tar.gz
src-74772ef1ae6b9a43b4fb7511b55a8a89ba3e202d.zip
loader: use safer DPRINTF body for non-debug case
Notes
Notes: svn path=/head/; revision=347219
Diffstat (limited to 'stand/common')
-rw-r--r--stand/common/bcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/common/bcache.c b/stand/common/bcache.c
index 82d8b4ed4380..3a8645e1bb16 100644
--- a/stand/common/bcache.c
+++ b/stand/common/bcache.c
@@ -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