Author: pfg
Date: Thu Apr 28 19:26:46 2016
New Revision: 298755
URL: https://svnweb.freebsd.org/changeset/base/298755

Log:
  sys/geom: spelling fixes.
  
  These affect debugging messages.
  
  MFC after:    2 weeks

Modified:
  head/sys/geom/journal/g_journal.h
  head/sys/geom/raid/g_raid_ctl.c
  head/sys/geom/raid/md_ddf.c

Modified: head/sys/geom/journal/g_journal.h
==============================================================================
--- head/sys/geom/journal/g_journal.h   Thu Apr 28 18:53:14 2016        
(r298754)
+++ head/sys/geom/journal/g_journal.h   Thu Apr 28 19:26:46 2016        
(r298755)
@@ -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: head/sys/geom/raid/g_raid_ctl.c
==============================================================================
--- head/sys/geom/raid/g_raid_ctl.c     Thu Apr 28 18:53:14 2016        
(r298754)
+++ head/sys/geom/raid/g_raid_ctl.c     Thu Apr 28 19:26:46 2016        
(r298755)
@@ -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: head/sys/geom/raid/md_ddf.c
==============================================================================
--- head/sys/geom/raid/md_ddf.c Thu Apr 28 18:53:14 2016        (r298754)
+++ head/sys/geom/raid/md_ddf.c Thu Apr 28 19:26:46 2016        (r298755)
@@ -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");
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to