summaryrefslogtreecommitdiffstats
path: root/sys/geom/mirror/g_mirror.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2013-08-12 18:17:45 +0000
committered <ed@FreeBSD.org>2013-08-12 18:17:45 +0000
commite591d48c3e9c37c7edd4d0ee38dcc5d8ee8503b1 (patch)
treed84a1ae1f117db456db21fe885c7529562f59415 /sys/geom/mirror/g_mirror.c
parent73b283f080a6cecd0199f1cae6c1ab85b4ed13e7 (diff)
downloadFreeBSD-src-e591d48c3e9c37c7edd4d0ee38dcc5d8ee8503b1.zip
FreeBSD-src-e591d48c3e9c37c7edd4d0ee38dcc5d8ee8503b1.tar.gz
Fix the formatting of the error message.
The G_MIRROR_DEBUG() macro already appends a newline. Also, most of the log messages emitted by gmirror start with an uppercase letter.
Diffstat (limited to 'sys/geom/mirror/g_mirror.c')
-rw-r--r--sys/geom/mirror/g_mirror.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/mirror/g_mirror.c b/sys/geom/mirror/g_mirror.c
index f2d94dd..04233fe 100644
--- a/sys/geom/mirror/g_mirror.c
+++ b/sys/geom/mirror/g_mirror.c
@@ -2052,8 +2052,8 @@ g_mirror_launch_provider(struct g_mirror_softc *sc)
}
/* A provider underneath us doesn't support unmapped */
if ((dp->flags & G_PF_ACCEPT_UNMAPPED) == 0) {
- G_MIRROR_DEBUG(0, "cancelling unmapped "
- "because of %s\n", dp->name);
+ G_MIRROR_DEBUG(0, "Cancelling unmapped "
+ "because of %s.", dp->name);
pp->flags &= ~G_PF_ACCEPT_UNMAPPED;
}
}
OpenPOWER on IntegriCloud