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;
                        }
                }
_______________________________________________
svn-src-stable-9@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"

Reply via email to