svn commit: r299498 - in stable/9/sys/geom: journal raid

Pedro F. Giffuni pfg at FreeBSD.org
Thu May 12 00:46:40 UTC 2016


Author: pfg
Date: Thu May 12 00:46:38 2016
New Revision: 299498
URL: https://svnweb.freebsd.org/changeset/base/299498

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

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

Modified: stable/9/sys/geom/journal/g_journal.h
==============================================================================
--- stable/9/sys/geom/journal/g_journal.h	Thu May 12 00:45:57 2016	(r299497)
+++ stable/9/sys/geom/journal/g_journal.h	Thu May 12 00:46:38 2016	(r299498)
@@ -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/9/sys/geom/raid/g_raid_ctl.c
==============================================================================
--- stable/9/sys/geom/raid/g_raid_ctl.c	Thu May 12 00:45:57 2016	(r299497)
+++ stable/9/sys/geom/raid/g_raid_ctl.c	Thu May 12 00:46:38 2016	(r299498)
@@ -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/9/sys/geom/raid/md_ddf.c
==============================================================================
--- stable/9/sys/geom/raid/md_ddf.c	Thu May 12 00:45:57 2016	(r299497)
+++ stable/9/sys/geom/raid/md_ddf.c	Thu May 12 00:46:38 2016	(r299498)
@@ -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");


More information about the svn-src-stable-9 mailing list