summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-04-30 19:04:59 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-04-30 19:04:59 +0000
commitb68ac8007db30517ec4d746f12b4df22d35463c3 (patch)
treeb788ac91d22f06b6e6aa097a51c563f2f4ed26b6
parent47041448c0c491605adaf85a0263cfa2ef479a22 (diff)
downloadsrc-test2-b68ac8007db30517ec4d746f12b4df22d35463c3.tar.gz
src-test2-b68ac8007db30517ec4d746f12b4df22d35463c3.zip
Notes
-rw-r--r--sbin/camcontrol/fwdownload.c2
-rw-r--r--sbin/ipfw/ipfw2.c4
-rw-r--r--sbin/ipfw/ipv6.c2
-rw-r--r--sbin/pfctl/parse.y2
-rw-r--r--sbin/swapon/swapon.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/sbin/camcontrol/fwdownload.c b/sbin/camcontrol/fwdownload.c
index 2c2d12abc006..fc0945048117 100644
--- a/sbin/camcontrol/fwdownload.c
+++ b/sbin/camcontrol/fwdownload.c
@@ -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.
*/
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c
index 21b6229d42cd..5389268ea7e5 100644
--- a/sbin/ipfw/ipfw2.c
+++ b/sbin/ipfw/ipfw2.c
@@ -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, uint16_t idx)
* 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.
*/
diff --git a/sbin/ipfw/ipv6.c b/sbin/ipfw/ipv6.c
index c04dd702b93d..6d884ee9100c 100644
--- a/sbin/ipfw/ipv6.c
+++ b/sbin/ipfw/ipv6.c
@@ -325,7 +325,7 @@ lookup_host6 (char *host, struct in6_addr *ip6addr)
* 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
*
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index a03ddbcfa3be..ba29321dd3d9 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -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
diff --git a/sbin/swapon/swapon.c b/sbin/swapon/swapon.c
index 03b2b09bf742..0c534adeec9b 100644
--- a/sbin/swapon/swapon.c
+++ b/sbin/swapon/swapon.c
@@ -428,7 +428,7 @@ swap_on_off_geli(const char *name, char *mntops, int doingall)
free(args);
if (error) {
- /* error occured during creation. */
+ /* error occurred during creation. */
if (qflag == 0)
warnx("%s: Invalid parameters", name);
return (NULL);