Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2014 12:23:30 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r265670 - stable/9/sys/geom/mirror
Message-ID:  <201405081223.s48CNU3Y089866@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 			}
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405081223.s48CNU3Y089866>