summaryrefslogtreecommitdiff
path: root/sys/dev/ic/mpivar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/mpivar.h')
-rw-r--r--sys/dev/ic/mpivar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mpivar.h b/sys/dev/ic/mpivar.h
index 51111dda0b4..98e9bcab17c 100644
--- a/sys/dev/ic/mpivar.h
+++ b/sys/dev/ic/mpivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpivar.h,v 1.17 2006/07/06 09:04:45 dlg Exp $ */
+/* $OpenBSD: mpivar.h,v 1.18 2006/07/06 09:59:43 dlg Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -22,7 +22,7 @@
#ifdef MPI_DEBUG
extern uint32_t mpi_debug;
#define DPRINTF(x...) do { if (mpi_debug) printf(x); } while(0)
-#define DNPRINTF(n,x...) do { if (mpi_debug & n) printf(x); } while(0)
+#define DNPRINTF(n,x...) do { if (mpi_debug & (n)) printf(x); } while(0)
#define MPI_D_CMD 0x0001
#define MPI_D_INTR 0x0002
#define MPI_D_MISC 0x0004