Compile in the DPRINTF debug macro's on DEBUG kernels
This commit is contained in:
parent
ab309cd331
commit
c0e3afd8a3
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: nilfs.h,v 1.5 2014/10/15 09:05:46 hannken Exp $ */
|
/* $NetBSD: nilfs.h,v 1.6 2020/03/21 13:38:29 reinoud Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2008, 2009 Reinoud Zandijk
|
* Copyright (c) 2008, 2009 Reinoud Zandijk
|
||||||
@ -66,7 +66,7 @@ extern int nilfs_verbose;
|
|||||||
/* initial value of nilfs_verbose */
|
/* initial value of nilfs_verbose */
|
||||||
#define NILFS_DEBUGGING 0
|
#define NILFS_DEBUGGING 0
|
||||||
|
|
||||||
#ifdef NILFS_DEBUG
|
#ifdef DEBUG
|
||||||
#define DPRINTF(name, arg) { \
|
#define DPRINTF(name, arg) { \
|
||||||
if (nilfs_verbose & NILFS_DEBUG_##name) {\
|
if (nilfs_verbose & NILFS_DEBUG_##name) {\
|
||||||
printf arg;\
|
printf arg;\
|
||||||
|
Loading…
Reference in New Issue
Block a user