mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-27 03:11:52 +01:00
sbin: minor spelling fixes.
No functional change.
This commit is contained in:
parent
47041448c0
commit
b68ac8007d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298858
@ -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.
|
||||
*/
|
||||
|
@ -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.
|
||||
*/
|
||||
|
@ -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
|
||||
*
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user