Date: Mon, 12 Aug 2013 18:17:45 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r254252 - head/sys/geom/mirror Message-ID: <201308121817.r7CIHkHT015195@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ed Date: Mon Aug 12 18:17:45 2013 New Revision: 254252 URL: http://svnweb.freebsd.org/changeset/base/254252 Log: 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. Modified: head/sys/geom/mirror/g_mirror.c Modified: head/sys/geom/mirror/g_mirror.c ============================================================================== --- head/sys/geom/mirror/g_mirror.c Mon Aug 12 17:22:39 2013 (r254251) +++ head/sys/geom/mirror/g_mirror.c Mon Aug 12 18:17:45 2013 (r254252) @@ -2052,8 +2052,8 @@ g_mirror_launch_provider(struct g_mirror } /* 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; } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308121817.r7CIHkHT015195>