Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe provide an empty DPRINTF
details: https://anonhg.NetBSD.org/src/rev/9f26c9fbb6c2
branches: trunk
changeset: 344902:9f26c9fbb6c2
user: christos <christos%NetBSD.org@localhost>
date: Wed Apr 27 02:47:39 2016 +0000
description:
provide an empty DPRINTF
diffstat:
sys/dev/raidframe/rf_netbsdkintf.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r e6104c6ce093 -r 9f26c9fbb6c2 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c Wed Apr 27 02:24:06 2016 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c Wed Apr 27 02:47:39 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_netbsdkintf.c,v 1.344 2016/04/27 02:24:06 christos Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.345 2016/04/27 02:47:39 christos Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2008-2011 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
***********************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.344 2016/04/27 02:24:06 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.345 2016/04/27 02:47:39 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -163,6 +163,8 @@
#ifdef DEBUG_ROOT
#define DPRINTF(a, ...) printf(a, __VA_ARGS__)
+#else
+#define DPRINTF(a, ...)
#endif
#if (RF_INCLUDE_PARITY_DECLUSTERING_DS > 0)
Home |
Main Index |
Thread Index |
Old Index