summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2009-12-09 04:59:42 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2009-12-09 04:59:42 +0000
commitc6786e14269d4c64baf159a7f5dce97f6f91c2bf (patch)
treea6f360c1e831e93d01a40903e67ac0257bcc6dd6 /sys
parent2711e165e728a4b794ee5b30baf9370fc6a79c0b (diff)
Stop spamming dmesg when raid isn't available.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/mpi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c
index a08fddef6cd..64545adbc63 100644
--- a/sys/dev/ic/mpi.c
+++ b/sys/dev/ic/mpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpi.c,v 1.122 2009/12/01 01:40:02 dlg Exp $ */
+/* $OpenBSD: mpi.c,v 1.123 2009/12/09 04:59:41 marco Exp $ */
/*
* Copyright (c) 2005, 2006, 2009 David Gwynne <dlg@openbsd.org>
@@ -2726,7 +2726,8 @@ mpi_bio_get_pg0_raid(struct mpi_softc *sc, int id)
address, &hdr) != 0)
goto done;
if (mpi_cfg_page(sc, address, &hdr, 1, rpg0, len)) {
- printf("%s: can't get RAID vol cfg page 0\n", DEVNAME(sc));
+ DNPRINTF(MPI_D_RAID, "%s: can't get RAID vol cfg page 0\n",
+ DEVNAME(sc));
goto done;
}