Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2016 00:45:57 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r299497 - in stable/10/sys/geom: journal raid
Message-ID:  <201605120045.u4C0jv5a083491@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pfg
Date: Thu May 12 00:45:57 2016
New Revision: 299497
URL: https://svnweb.freebsd.org/changeset/base/299497

Log:
  MFC r298755:
  sys/geom: spelling fixes.
  
  These affect debugging messages.

Modified:
  stable/10/sys/geom/journal/g_journal.h
  stable/10/sys/geom/raid/g_raid_ctl.c
  stable/10/sys/geom/raid/md_ddf.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/geom/journal/g_journal.h
==============================================================================
--- stable/10/sys/geom/journal/g_journal.h	Wed May 11 23:39:39 2016	(r299496)
+++ stable/10/sys/geom/journal/g_journal.h	Thu May 12 00:45:57 2016	(r299497)
@@ -224,7 +224,7 @@ struct g_journal_entry {
 #define	GJ_VALIDATE_OFFSET(offset, sc)	do {				\
 	if ((offset) + GJ_RECORD_MAX_SIZE(sc) >= (sc)->sc_jend) {	\
 		(offset) = (sc)->sc_jstart;				\
-		GJ_DEBUG(2, "Starting from the begining (%s).",		\
+		GJ_DEBUG(2, "Starting from the beginning (%s).",		\
 		    (sc)->sc_name);					\
 	}								\
 } while (0)

Modified: stable/10/sys/geom/raid/g_raid_ctl.c
==============================================================================
--- stable/10/sys/geom/raid/g_raid_ctl.c	Wed May 11 23:39:39 2016	(r299496)
+++ stable/10/sys/geom/raid/g_raid_ctl.c	Thu May 12 00:45:57 2016	(r299497)
@@ -117,7 +117,7 @@ g_raid_ctl_label(struct gctl_req *req, s
 	}
 	format = gctl_get_asciiparam(req, "arg0");
 	if (format == NULL) {
-		gctl_error(req, "No format recieved.");
+		gctl_error(req, "No format received.");
 		return;
 	}
 	crstatus = g_raid_create_node_format(format, req, &geom);
@@ -164,7 +164,7 @@ g_raid_ctl_stop(struct gctl_req *req, st
 	}
 	nodename = gctl_get_asciiparam(req, "arg0");
 	if (nodename == NULL) {
-		gctl_error(req, "No array name recieved.");
+		gctl_error(req, "No array name received.");
 		return;
 	}
 	sc = g_raid_find_node(mp, nodename);
@@ -204,7 +204,7 @@ g_raid_ctl_other(struct gctl_req *req, s
 	}
 	nodename = gctl_get_asciiparam(req, "arg0");
 	if (nodename == NULL) {
-		gctl_error(req, "No array name recieved.");
+		gctl_error(req, "No array name received.");
 		return;
 	}
 	sc = g_raid_find_node(mp, nodename);

Modified: stable/10/sys/geom/raid/md_ddf.c
==============================================================================
--- stable/10/sys/geom/raid/md_ddf.c	Wed May 11 23:39:39 2016	(r299496)
+++ stable/10/sys/geom/raid/md_ddf.c	Thu May 12 00:45:57 2016	(r299497)
@@ -257,7 +257,7 @@ g_raid_md_ddf_print(struct ddf_meta *met
 	printf("BBM Log              %u:%u\n", GET32(meta, hdr->bbmlog_section), GET32(meta, hdr->bbmlog_length));
 	printf("Diagnostic Space     %u:%u\n", GET32(meta, hdr->Diagnostic_Space), GET32(meta, hdr->Diagnostic_Space_Length));
 	printf("Vendor_Specific_Logs %u:%u\n", GET32(meta, hdr->Vendor_Specific_Logs), GET32(meta, hdr->Vendor_Specific_Logs_Length));
-	printf("**** Controler Data ****\n");
+	printf("**** Controller Data ****\n");
 	printf("Controller_GUID      ");
 	print_guid(meta->cdr->Controller_GUID);
 	printf("\n");



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