svn commit: r265670 - stable/9/sys/geom/mirror

Alexander Motin mav at FreeBSD.org
Thu May 8 12:23:31 UTC 2014


Author: mav
Date: Thu May  8 12:23:30 2014
New Revision: 265670
URL: http://svnweb.freebsd.org/changeset/base/265670

Log:
  MFC r254252:
  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:
  stable/9/sys/geom/mirror/g_mirror.c
Directory Properties:
  stable/9/   (props changed)
  stable/9/sys/   (props changed)

Modified: stable/9/sys/geom/mirror/g_mirror.c
==============================================================================
--- stable/9/sys/geom/mirror/g_mirror.c	Thu May  8 12:07:40 2014	(r265669)
+++ stable/9/sys/geom/mirror/g_mirror.c	Thu May  8 12:23:30 2014	(r265670)
@@ -2054,8 +2054,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-all mailing list