diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-07-06 09:59:44 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-07-06 09:59:44 +0000 |
commit | 2557013620e372dba851b2f36499f1a34f76957e (patch) | |
tree | 9442e712b3921c144ecb296cffac58dfd6fe3956 /sys/dev/ic/mpivar.h | |
parent | 4c30427ba1d0e45fa6f30e7652ac9b2fc2ab08d4 (diff) |
fix debugging stuff
Diffstat (limited to 'sys/dev/ic/mpivar.h')
-rw-r--r-- | sys/dev/ic/mpivar.h | 4 |
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 |