Author: pfg
Date: Sat Apr 30 19:04:59 2016
New Revision: 298858
URL: https://svnweb.freebsd.org/changeset/base/298858

Log:
  sbin: minor spelling fixes.
  
  No functional change.

Modified:
  head/sbin/camcontrol/fwdownload.c
  head/sbin/ipfw/ipfw2.c
  head/sbin/ipfw/ipv6.c
  head/sbin/pfctl/parse.y
  head/sbin/swapon/swapon.c

Modified: head/sbin/camcontrol/fwdownload.c
==============================================================================
--- head/sbin/camcontrol/fwdownload.c   Sat Apr 30 19:01:51 2016        
(r298857)
+++ head/sbin/camcontrol/fwdownload.c   Sat Apr 30 19:04:59 2016        
(r298858)
@@ -216,7 +216,7 @@ static struct fw_vendor vendors_list[] =
         * since we won't actually send a WRITE BUFFER with any of the
         * listed parameters.  If a SATA device is behind a SAS controller,
         * the SCSI to ATA translation code (at least for LSI) doesn't
-        * generaly translate a SCSI WRITE BUFFER into an ATA DOWNLOAD
+        * generally translate a SCSI WRITE BUFFER into an ATA DOWNLOAD
         * MICROCODE command.  So, we use the SCSI ATA PASS_THROUGH command
         * to send the ATA DOWNLOAD MICROCODE command instead.
         */

Modified: head/sbin/ipfw/ipfw2.c
==============================================================================
--- head/sbin/ipfw/ipfw2.c      Sat Apr 30 19:01:51 2016        (r298857)
+++ head/sbin/ipfw/ipfw2.c      Sat Apr 30 19:04:59 2016        (r298858)
@@ -82,7 +82,7 @@ int ipfw_socket = -1;
  * Check if we have enough space in cmd buffer. Note that since
  * first 8? u32 words are reserved by reserved header, full cmd
  * buffer can't be used, so we need to protect from buffer overrun
- * only. At the beginnig, cblen is less than actual buffer size by
+ * only. At the beginning, cblen is less than actual buffer size by
  * size of ipfw_insn_u32 instruction + 1 u32 work. This eliminates need
  * for checking small instructions fitting in given range.
  * We also (ab)use the fact that ipfw_insn is always the first field
@@ -4929,7 +4929,7 @@ table_search_ctlv(ipfw_obj_ctlv *ctlv, u
  * Rules in reply are modified to store their actual ruleset number.
  *
  * (*1) TLVs inside IPFW_TLV_TBL_LIST needs to be sorted ascending
- * accoring to their idx field and there has to be no duplicates.
+ * according to their idx field and there has to be no duplicates.
  * (*2) Numbered rules inside IPFW_TLV_RULE_LIST needs to be sorted ascending.
  * (*3) Each ip_fw structure needs to be aligned to u64 boundary.
  */

Modified: head/sbin/ipfw/ipv6.c
==============================================================================
--- head/sbin/ipfw/ipv6.c       Sat Apr 30 19:01:51 2016        (r298857)
+++ head/sbin/ipfw/ipv6.c       Sat Apr 30 19:04:59 2016        (r298858)
@@ -325,7 +325,7 @@ lookup_host6 (char *host, struct in6_add
  *     any     matches any IP6. Actually returns an empty instruction.
  *     me      returns O_IP6_*_ME
  *
- *     03f1::234:123:0342              single IP6 addres
+ *     03f1::234:123:0342              single IP6 address
  *     03f1::234:123:0342/24       address/mask
  *     03f1::234:123:0342/24,03f1::234:123:0343/              List of address
  *

Modified: head/sbin/pfctl/parse.y
==============================================================================
--- head/sbin/pfctl/parse.y     Sat Apr 30 19:01:51 2016        (r298857)
+++ head/sbin/pfctl/parse.y     Sat Apr 30 19:04:59 2016        (r298858)
@@ -6173,7 +6173,7 @@ rt_tableid_max(void)
        /*
         * As the OpenBSD code only compares > and not >= we need to adjust
         * here given we only accept values of 0..n and want to avoid #ifdefs
-        * in the grammer.
+        * in the grammar.
         */
        return (fibs - 1);
 #else

Modified: head/sbin/swapon/swapon.c
==============================================================================
--- head/sbin/swapon/swapon.c   Sat Apr 30 19:01:51 2016        (r298857)
+++ head/sbin/swapon/swapon.c   Sat Apr 30 19:04:59 2016        (r298858)
@@ -428,7 +428,7 @@ swap_on_off_geli(const char *name, char 
                free(args);
 
                if (error) {
-                       /* error occured during creation. */
+                       /* error occurred during creation. */
                        if (qflag == 0)
                                warnx("%s: Invalid parameters", name);
                        return (NULL);
_______________________________________________
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