Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/nilfs Compile in the DPRINTF debug macro's on DEBUG k...



details:   https://anonhg.NetBSD.org/src/rev/f2001082572e
branches:  trunk
changeset: 746061:f2001082572e
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Sat Mar 21 13:38:29 2020 +0000

description:
Compile in the DPRINTF debug macro's on DEBUG kernels

diffstat:

 sys/fs/nilfs/nilfs.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9d81b0b4736f -r f2001082572e sys/fs/nilfs/nilfs.h
--- a/sys/fs/nilfs/nilfs.h      Sat Mar 21 11:46:36 2020 +0000
+++ b/sys/fs/nilfs/nilfs.h      Sat Mar 21 13:38:29 2020 +0000
@@ -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
@@ -66,7 +66,7 @@
 /* initial value of nilfs_verbose */
 #define NILFS_DEBUGGING                0
 
-#ifdef NILFS_DEBUG
+#ifdef DEBUG
 #define DPRINTF(name, arg) { \
                if (nilfs_verbose & NILFS_DEBUG_##name) {\
                        printf arg;\



Home | Main Index | Thread Index | Old Index