aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2024-02-24 09:13:44 +0000
committerGordon Bergling <gbe@FreeBSD.org>2024-02-27 08:25:06 +0000
commit2ba9bcd97608923c084edd6d7a36bf5b5a73f6be (patch)
treeb015c28128627b7e51dcf66bd47d97306f0b315a
parentef2b2b0bf3e3240b27dabd5a6c15503b5c03e031 (diff)
downloadsrc-stable/12.tar.gz
src-stable/12.zip
if_hn: Fix two typos in source code commentsstable/12
- s/managment/management/ - s/transacion/transaction/ Obtained from: NetBSD (cherry picked from commit 61b88a230bac766f55984d8d33b98845d2b0d1a9)
-rw-r--r--sys/dev/hyperv/netvsc/if_hn.c2
-rw-r--r--sys/dev/hyperv/netvsc/if_hnreg.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hyperv/netvsc/if_hn.c b/sys/dev/hyperv/netvsc/if_hn.c
index 97346272b993..e638e3ecb58a 100644
--- a/sys/dev/hyperv/netvsc/if_hn.c
+++ b/sys/dev/hyperv/netvsc/if_hn.c
@@ -2532,7 +2532,7 @@ hn_detach(device_t dev)
hn_stop(sc, true);
/*
* NOTE:
- * hn_stop() only suspends data, so managment
+ * hn_stop() only suspends data, so management
* stuffs have to be suspended manually here.
*/
hn_suspend_mgmt(sc);
diff --git a/sys/dev/hyperv/netvsc/if_hnreg.h b/sys/dev/hyperv/netvsc/if_hnreg.h
index 54db556cc56d..ff2da480c0ef 100644
--- a/sys/dev/hyperv/netvsc/if_hnreg.h
+++ b/sys/dev/hyperv/netvsc/if_hnreg.h
@@ -60,7 +60,7 @@
#define HN_NVS_RNDIS_MTYPE_CTRL 1
/*
- * NVS message transacion status codes.
+ * NVS message transaction status codes.
*/
#define HN_NVS_STATUS_OK 1
#define HN_NVS_STATUS_FAILED 2