From e591d48c3e9c37c7edd4d0ee38dcc5d8ee8503b1 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 12 Aug 2013 18:17:45 +0000 Subject: 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. --- sys/geom/mirror/g_mirror.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/geom/mirror/g_mirror.c') 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; } } -- cgit v1.1