summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2007-06-09 14:21:44 +0000
committermiod <miod@openbsd.org>2007-06-09 14:21:44 +0000
commitf11b08b1c3c22af8f27bfc0803f62232a692c47e (patch)
treef062c8619cf081b7bdd65ad639f64be71fe95c60
parenttag user installed packages. (diff)
downloadwireguard-openbsd-f11b08b1c3c22af8f27bfc0803f62232a692c47e.tar.xz
wireguard-openbsd-f11b08b1c3c22af8f27bfc0803f62232a692c47e.zip
Silence a debug printf.
-rw-r--r--sys/arch/sparc/dev/si.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/si.c b/sys/arch/sparc/dev/si.c
index 7e00384436e..a64c9e4d57c 100644
--- a/sys/arch/sparc/dev/si.c
+++ b/sys/arch/sparc/dev/si.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: si.c,v 1.25 2006/12/13 21:12:58 miod Exp $ */
+/* $OpenBSD: si.c,v 1.26 2007/06/09 14:21:44 miod Exp $ */
/* $NetBSD: si.c,v 1.38 1997/08/27 11:24:20 bouyer Exp $ */
/*-
@@ -649,7 +649,9 @@ si_dma_alloc(ncr_sc)
/* If the DMA start addr is misaligned then do PIO */
if ((addr & 1) || (xlen & 1)) {
+#ifdef DEBUG
printf("si_dma_alloc: misaligned.\n");
+#endif
return;
}