svn commit: r254252 - head/sys/geom/mirror

Ed Schouten ed at FreeBSD.org
Mon Aug 12 18:17:46 UTC 2013


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;
 			}
 		}


More information about the svn-src-head mailing list