Module Name: src
Committed By: dholland
Date: Sat Aug 10 18:14:21 UTC 2013
Modified Files:
src/sys/dev/pci/bktr: bktr_os.c
Log Message:
Redo -r1.53 correctly.
To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/dev/pci/bktr/bktr_os.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/bktr/bktr_os.c
diff -u src/sys/dev/pci/bktr/bktr_os.c:1.61 src/sys/dev/pci/bktr/bktr_os.c:1.62
--- src/sys/dev/pci/bktr/bktr_os.c:1.61 Sat Oct 27 17:18:36 2012
+++ src/sys/dev/pci/bktr/bktr_os.c Sat Aug 10 18:14:21 2013
@@ -1,6 +1,6 @@
/* $SourceForge: bktr_os.c,v 1.5 2003/03/11 23:11:25 thomasklausner Exp $ */
-/* $NetBSD: bktr_os.c,v 1.61 2012/10/27 17:18:36 chs Exp $ */
+/* $NetBSD: bktr_os.c,v 1.62 2013/08/10 18:14:21 dholland Exp $ */
/* $FreeBSD: src/sys/dev/bktr/bktr_os.c,v 1.20 2000/10/20 08:16:53 roger Exp$ */
/*
@@ -51,7 +51,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bktr_os.c,v 1.61 2012/10/27 17:18:36 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bktr_os.c,v 1.62 2013/08/10 18:14:21 dholland Exp $");
#ifdef __FreeBSD__
#include "bktr.h"
@@ -165,7 +165,7 @@ SYSCTL_INT(_hw_bt848, OID_AUTO, slow_msp
#define BKTR_DEBUG
#ifdef BKTR_DEBUG
int bktr_debug = 0;
-#define DPR(x) if (bktr_debug) printf x
+#define DPR(x) (bktr_debug ? printf x : (void)0)
#else
#define DPR(x)
#endif