aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbetterentley <john.bentley@betterment.com>2021-11-12 21:55:27 +0000
committerWarner Losh <imp@FreeBSD.org>2021-11-19 06:22:12 +0000
commitf7c32ed617858bcd22f8d1b03199099d50125721 (patch)
treea8898a394d1f298641884466c61ce6dfb3c27862
parent9cb485d18f01900800efe4ec3cfcfadd335da858 (diff)
downloadsrc-f7c32ed617858bcd22f8d1b03199099d50125721.tar.gz
src-f7c32ed617858bcd22f8d1b03199099d50125721.zip
Fix 'take effect' spelling in menus and comments.
Signed-off-by: John Bentley <johnbentley.public@gmail.com> Pull Request: https://github.com/freebsd/freebsd-src/pull/559
-rw-r--r--share/man/man4/bpf.42
-rw-r--r--share/man/man4/bxe.42
-rw-r--r--sys/dev/e1000/e1000_phy.c2
-rw-r--r--sys/dev/igc/igc_phy.c2
-rw-r--r--sys/dev/isci/scil/scif_sas_controller.c2
-rw-r--r--sys/dev/mlx4/mlx4_core/mlx4_cmd.c2
-rw-r--r--usr.sbin/bsdconfig/security/include/messages.subr2
7 files changed, 7 insertions, 7 deletions
diff --git a/share/man/man4/bpf.4 b/share/man/man4/bpf.4
index f285d5276376..f07279566ee4 100644
--- a/share/man/man4/bpf.4
+++ b/share/man/man4/bpf.4
@@ -698,7 +698,7 @@ will start receiving
when packets arrive.
Note that you must do an
.Dv FIOSETOWN
-in order for this to take affect,
+in order for this to take effect,
as the system will not default this for you.
The signal may be changed via
.Dv BIOCSRSIG .
diff --git a/share/man/man4/bxe.4 b/share/man/man4/bxe.4
index 4838b825b756..98d3040ef454 100644
--- a/share/man/man4/bxe.4
+++ b/share/man/man4/bxe.4
@@ -88,7 +88,7 @@ There a number of configuration parameters that can be set to tweak the
driver's behavior.
These parameters can be set via the
.Xr loader.conf 5
-file to take affect during the next system boot.
+file to take effect during the next system boot.
The following parameters affect
ALL instances of the driver.
.Bl -tag -width indent
diff --git a/sys/dev/e1000/e1000_phy.c b/sys/dev/e1000/e1000_phy.c
index 5c346b2163de..0c74d4229a34 100644
--- a/sys/dev/e1000/e1000_phy.c
+++ b/sys/dev/e1000/e1000_phy.c
@@ -2020,7 +2020,7 @@ s32 e1000_phy_force_speed_duplex_ife(struct e1000_hw *hw)
* disable auto-negotiation, configure duplex, configure speed, configure
* the collision distance, write configuration to CTRL register. The
* caller must write to the PHY_CONTROL register for these settings to
- * take affect.
+ * take effect.
**/
void e1000_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl)
{
diff --git a/sys/dev/igc/igc_phy.c b/sys/dev/igc/igc_phy.c
index a6823ddf7bac..97cb11d1cd01 100644
--- a/sys/dev/igc/igc_phy.c
+++ b/sys/dev/igc/igc_phy.c
@@ -590,7 +590,7 @@ s32 igc_setup_copper_link_generic(struct igc_hw *hw)
* disable auto-negotiation, configure duplex, configure speed, configure
* the collision distance, write configuration to CTRL register. The
* caller must write to the PHY_CONTROL register for these settings to
- * take affect.
+ * take effect.
**/
void igc_phy_force_speed_duplex_setup(struct igc_hw *hw, u16 *phy_ctrl)
{
diff --git a/sys/dev/isci/scil/scif_sas_controller.c b/sys/dev/isci/scil/scif_sas_controller.c
index b3987984afa2..a3dd5513bdc8 100644
--- a/sys/dev/isci/scil/scif_sas_controller.c
+++ b/sys/dev/isci/scil/scif_sas_controller.c
@@ -561,7 +561,7 @@ SCI_STATUS scif_user_parameters_set(
// In the future more could be done to prevent setting parameters at the
// wrong time, but for now we'll simply set the values even if it is too
- // late for them to take affect.
+ // late for them to take effect.
return SCI_SUCCESS;
}
diff --git a/sys/dev/mlx4/mlx4_core/mlx4_cmd.c b/sys/dev/mlx4/mlx4_core/mlx4_cmd.c
index 39a4064e3ff4..489492455bb9 100644
--- a/sys/dev/mlx4/mlx4_core/mlx4_cmd.c
+++ b/sys/dev/mlx4/mlx4_core/mlx4_cmd.c
@@ -3110,7 +3110,7 @@ int mlx4_set_vf_rate(struct mlx4_dev *dev, int port, int vf, int min_tx_rate,
mlx4_info(dev, "VF in VGT mode (needed VST)\n");
mlx4_info(dev,
- "rate %d take affect when VF moves to valid state\n",
+ "rate %d take effect when VF moves to valid state\n",
max_tx_rate);
return 0;
}
diff --git a/usr.sbin/bsdconfig/security/include/messages.subr b/usr.sbin/bsdconfig/security/include/messages.subr
index f6df66751881..1ab2333c1fb8 100644
--- a/usr.sbin/bsdconfig/security/include/messages.subr
+++ b/usr.sbin/bsdconfig/security/include/messages.subr
@@ -33,7 +33,7 @@ msg_exit="Exit"
msg_exit_this_menu="Exit this menu"
msg_highly_secure="Highly Secure"
msg_highly_secure_mode="Highly secure mode"
-msg_menu_text="This menu allows you to configure aspects of the operating system security\npolicy. Please read the system documentation carefully before modifying\nthese settings, as they may cause service disruption if used improperly.\n\nMost settings will take affect only following a system reboot."
+msg_menu_text="This menu allows you to configure aspects of the operating system security\npolicy. Please read the system documentation carefully before modifying\nthese settings, as they may cause service disruption if used improperly.\n\nMost settings will take effect only following a system reboot."
msg_network_secure="Network Secure"
msg_network_secure_mode="Network secure mode"
msg_nfs_port="NFS port"