git: f7c32ed61785 - main - Fix 'take effect' spelling in menus and comments.

From: Warner Losh <imp_at_FreeBSD.org>
Date: Fri, 19 Nov 2021 06:24:09 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=f7c32ed617858bcd22f8d1b03199099d50125721

commit f7c32ed617858bcd22f8d1b03199099d50125721
Author:     betterentley <john.bentley@betterment.com>
AuthorDate: 2021-11-12 21:55:27 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-11-19 06:22:12 +0000

    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
---
 share/man/man4/bpf.4                              | 2 +-
 share/man/man4/bxe.4                              | 2 +-
 sys/dev/e1000/e1000_phy.c                         | 2 +-
 sys/dev/igc/igc_phy.c                             | 2 +-
 sys/dev/isci/scil/scif_sas_controller.c           | 2 +-
 sys/dev/mlx4/mlx4_core/mlx4_cmd.c                 | 2 +-
 usr.sbin/bsdconfig/security/include/messages.subr | 2 +-
 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"