summaryrefslogtreecommitdiffstats
path: root/sys/geom/mirror/g_mirror.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-12-21 19:50:18 +0000
committerpjd <pjd@FreeBSD.org>2004-12-21 19:50:18 +0000
commit968f03faa7b3b44011e8bcc285dd7cf40ab5e13b (patch)
tree8b5c09b4887302c4c34fa3dc8b8ce044f3c75f98 /sys/geom/mirror/g_mirror.c
parent66d65c661482f5b97b170dea920df7c1e0b28431 (diff)
downloadFreeBSD-src-968f03faa7b3b44011e8bcc285dd7cf40ab5e13b.zip
FreeBSD-src-968f03faa7b3b44011e8bcc285dd7cf40ab5e13b.tar.gz
Now, when force device destruction is done on shutdown, hide warning,
that device cannot be destroyed immediately, under debug=1. Suggested by: simon
Diffstat (limited to 'sys/geom/mirror/g_mirror.c')
-rw-r--r--sys/geom/mirror/g_mirror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/mirror/g_mirror.c b/sys/geom/mirror/g_mirror.c
index 8ae0540..fadf447 100644
--- a/sys/geom/mirror/g_mirror.c
+++ b/sys/geom/mirror/g_mirror.c
@@ -2536,7 +2536,7 @@ g_mirror_destroy(struct g_mirror_softc *sc, boolean_t force)
pp = sc->sc_provider;
if (pp != NULL && (pp->acr != 0 || pp->acw != 0 || pp->ace != 0)) {
if (force) {
- G_MIRROR_DEBUG(0, "Device %s is still open, so it "
+ G_MIRROR_DEBUG(1, "Device %s is still open, so it "
"can't be definitely removed.", pp->name);
} else {
G_MIRROR_DEBUG(1,
OpenPOWER on IntegriCloud