Skip to content

Commit

Permalink
if_hn: Fix two typos in source code comments
Browse files Browse the repository at this point in the history
- s/managment/management/
- s/transacion/transaction/

Obtained from:	NetBSD

(cherry picked from commit 61b88a230bac766f55984d8d33b98845d2b0d1a9)
  • Loading branch information
gbergling authored and laffer1 committed Mar 28, 2024
1 parent 585ef65 commit a15fac0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sys/dev/hyperv/netvsc/if_hn.c
Original file line number Diff line number Diff line change
Expand Up @@ -2531,7 +2531,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);
Expand Down
2 changes: 1 addition & 1 deletion sys/dev/hyperv/netvsc/if_hnreg.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,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
Expand Down

0 comments on commit a15fac0

Please sign in to comment.